Docs Menu

Docs HomeMongoDB Manual

Array Query Operators

Array operators return data based on array conditions.


For details on a specific operator, including syntax and examples, click on the link to the operator's reference page.

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:

←  $polygon$all →
Share Feedback
© 2023 MongoDB, Inc.


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