Docs Menu

Array 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
Matches arrays that contain all elements specified in the query.
Selects documents if element in the array field matches all the specified $elemMatch conditions.
Selects documents if the array field is a specified size.

For examples on querying array fields, see:

←  $uniqueDocs$all →
Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.