Methods
aggregate()
The aggregate() method is used to interact with collections in MongoDB.
aggregate()
The aggregate() method is used to interact with collections in MongoDB.
Syntax
db.collection.aggregate(...)
Example
db.users.aggregate(...)The aggregate() method is used to interact with collections in MongoDB.
The aggregate() method is used to interact with collections in MongoDB.
db.collection.aggregate(...)
db.users.aggregate(...)