Querying MongoDB
MongoDB queries viewed as relational algebra
select
- Predicates include the usual suspects: Comparison, and, or, not.
- Nested structure can be explored.
- Various builtin functions available.
project
join
- Expressed in nesting of the document (and therefore queryable
as part of find(predicate)).
- Or expressed as a reference: User has to code the join
in a separate query.
|