Users.find({ some-criteria }, array_of_field_names)
.sort('sort_field_name', -1) // DESC order
.execFind( function(err, users) {... }); // since mongoose 1.0.14
On Sun, Feb 20, 2011 at 3:24 PM, Marcelo Barbudas <nos...@gmail.com> wrote:
> Anyone? Still haven't figured it out.
> -m.
--
kalmi