db.myCollection.find( { $where: "this.a > 3" });
It makes a lot of sense that, behind the scenes, this is what the query operators are using, but other than that, what are you using this feature for? Was this designed to solve a specific problem, or is it just a byproduct of implementing query operators?
--
Ethan
http://www.mongodb.org/display/DOCS/Server-side+Code+Execution
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.