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.

New in version 4.4.2.

Back

$slice (projection)