Performs a query on a collection and returns a cursor object. Shorthand for Query(criteria).find(collection, projection)
Query(criteria).find(collection, projection)
Array of objects
Query criteria
Optional
Projection criteria
A cursor of results
Performs a query on a collection and returns a cursor object. Shorthand for
Query(criteria).find(collection, projection)