Answers for "mongodb sort query"

6

mongodb sort query

db.Employee.find().sort({Employeeid:-1}).forEach(printjson)
Posted by: Guest on April-24-2020
-1

reverse mongo results order

result.reverse();
Posted by: Guest on January-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language