How to use mongodb with chainable method in meteor?


#1

how to use mongodb with chainable method in meteor?

Collection.Staff.find().sort({_id: -1})

#2

Collection.find({}, { sort: { _id: -1 } })

http://docs.meteor.com/#/full/find


#3

so, i can’t use chainable???


#4

Meteor doesn’t currently support chained query syntax.