Docs Menu

Docs HomeMongoDB Manual

Miscellaneous Query Operators

Note

For details on specific operator, including syntax and examples, click on the specific operator to go to its reference page.

Name
Description
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.
←  $slice (projection)$comment →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.