MongoDB : Aggregate Functions
Aggregate functions allow you to group together the documents and performs some computation on them, so that a single document is been return. . Retrieve the document from the database Note: We are using testDB database, and from the previous tutorial we are using collection as testCollection 1) Open a new command Prompt. 2) Enter “mongod“, …