i\'m trying a simple query in Mongo which in MySQL would look like this.
select * from emails where bounceCount > sentCount;
So far I ha
You can use the $where operator to do this, which lets you use Javascript code in the query.
For your example, you would do:
db.email.find({ $where: "this.bounceCount > this.sentCount" });
See the MongoDB documentation page for more details on the $where operator: http://docs.mongodb.org/manual/reference/operator/where/#op._S_where