apoc.mongo.count

Procedure Apoc Extended

apoc.mongo.count(uri, query, $config) yield value - perform a count operation on mongodb collection

Signature

apoc.mongo.count(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?