Skip to content

Glossary: MongoDB

$gt / $gte / $lt / $lte

Also written: $gt, $gte, $lt, $lte

Query operators for greater than, greater than or equal, less than and less than or equal. Put two in one document to make a range, such as prices from $10 to $20.

Where the book teaches it

Related terms

Query operator$in / $nin