apoc.mongo.update

This is the APOC Extended documentation.

APOC Extended is not supported by Neo4j. For the officially supported APOC Core, go to the APOC Core page.

Procedure Apoc Extended

apoc.mongo.update(uri, query, update, $config) - updates the given documents from the mongodb collection and returns the number of affected documents

Signature

apoc.mongo.update(uri :: STRING?, query :: ANY?, update :: ANY?, config = {} :: MAP?) :: (value :: INTEGER?)

Input parameters

Name Type Default

uri

STRING?

null

query

ANY?

null

update

ANY?

null

config

MAP?

{}

Output parameters

Name Type

value

INTEGER?