• +91 9723535972
  • info@interviewmaterial.com

MongoDB Interview Questions and Answers

Question - What is the syntax of the sort() method?

Answer - In MongoDB, the following syntax is used for sorting documents: >db.COLLECTION_NAME.find().sort({KEY:1})

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners