apoc.mongo.update

Procedure APOC Full

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?