amark / mongous

Simple MongoDB driver for Node.js with jQuery like syntax.
MIT License
246 stars 30 forks source link

Sorting? #10

Closed ghost closed 13 years ago

ghost commented 13 years ago

Hello amark,

Just wondering how to go about sorting since the only options I see are "lim" and "skip". Thanks!

Banx

ghost commented 13 years ago

Closed

nmorse commented 13 years ago

What's the possibility of sorting. Was it discussed? difficult to do? Not on anyones sort list?

amark commented 13 years ago

hmm, I don't think sorting is implemented. You can find values based on their attribute, however - and then you can sort server-side using javascript. Not as efficient since Mongo does have this option.

I'm not in active development of this module, but I'd definitely love to have somebody join it and add more features.