apoc.mongo.delete

Procedure Apoc Extended

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

Signature

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

Input parameters

Name Type Default

uri

STRING?

null

query

ANY?

null

config

MAP?

{}

Output parameters

Name Type

value

INTEGER?