|< < 45 > >|

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

  • Supported.

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.

|< < 45 > >|