Query Documents — MongoDB Manual
www.mongodb.com › docs › manualDocs Home→ MongoDB Manual Query Documents On this page Select All Documents in a Collection Specify Equality Condition Specify Conditions Using Query Operators Specify ANDConditions Specify ORConditions Additional Query Tutorials Behavior Use the Select your languagedrop-down menu in the upper-right to set the language of the following examples.
Query an Array — MongoDB Manual
www.mongodb.com › docs › manualMongoDB Shell Query for an Element by the Array Index Position Using dot notation, you can specify query conditions for an element at a particular index or position of the array. The array uses zero-based indexing. Note When querying using dot notation, the field and nested field must be inside quotation marks.