Docs Menu
Docs Home
/
MongoDB 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.

Name
Description
$comment
Adds a comment to a query predicate.
Generates a random float between 0 and 1.
A 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.

Back

$slice (projection)