Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongodb sort query

db.Employee.find().sort({Employeeid:-1}).forEach(printjson)
Source by www.guru99.com #
 
PREVIOUS NEXT
Tagged: #mongodb #sort #query
ADD COMMENT
Topic
Name
4+7 =