News for hackers. Stuff that matters.
Re:MongoDB interactive tutorial by latch on Wednesday March 16, 2011 @08:21AM (#2331707)
weight:-1 is correct..since you want the heaviest, you sort by weight descending. weight:1 should have returned documents in ascending order but wasn't working. It's fixed now on the tutorial..as well as in the core web console: https://github.com/karlseguin/Mongo-Web-Admin/commit/761cd4e...

There are no comments on this comment yet.