[1] http://docs.mongodb.org/master/tutorial/query-documents/
[1] http://docs.mongodb.org/master/tutorial/query-documents/
- Conjunction and disjunction operations are defined by arrays in MongoDB, but as Objects in Queryl.
For example:
{ $or: [ { foo: { $gt: 100 } }, { bar: { $gt: 200 } } ] }
vs:
{ $or: { $gt: { foo: 100, bar: 200 } } }
- As you can notice in the above example, in MongoDB, you declare the property and the specific query inside, while in Queryl is the opposite: you declare the operation, and then the property.
- Of course, Queryl is still in it's infancy, and doesn't support as many operations as MongoDB does (but will be added eventually).
There are probably more differences that I'm not spotting due to lack of in depth knowledge in MongoDB queries.