apoc.mongodb.count

Procedure

apoc.mongodb.count(host-or-key,db,collection,query) yield value - perform a find operation on mongodb collection

Signature

apoc.mongodb.count(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?) :: (value :: INTEGER?)

Input parameters

Name Type Default

host

STRING?

null

db

STRING?

null

collection

STRING?

null

query

MAP?

null

Output parameters

Name Type

value

INTEGER?