apoc.mongo.count

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.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?