MongoDB:Limit, Skip and Sort
In this tutorial we will learn about how to limit documents, skip some documents and using sorting techniques in mongodb. 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“, and press ENTER (it …