Docs HomeMongoDB Manual

Miscellaneous Query Operators

Note

For details on a specific operator, including syntax and examples, click on the link to the operator's reference page.

NameDescription
$commentAdds a comment to a query predicate.
$randGenerates a random float between 0 and 1.
$naturalA special hint that can be provided via the sort() or hint() methods that can be used to force either a forward or reverse collection scan.