On a related note, if you like python and MongoDB you might like my MongoMagic library: https://github.com/redbeard0531/MongoMagic. It lets you write queries like this: db.users.find(M.age > 21). This produces standard Mongo query objects so works with any ODM, or none at all. With Minimongo you could do something like Posts.find( 10 < M.comments.votes < 100 ).