Docs Menu

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.

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 →
Share Feedback
© 2023 MongoDB, Inc.

About

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