Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2714

Clarify query $elemMatch Description

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • v1.3.1
    • None
    • manual

    Description

      The statement : "returns all documents in collection where the array array satisfies all of the conditions in the $elemMatch expression, or where the value of value1 is 1 and the value of value2 is greater than 1" implies that it is either the array matches or the following clauses are true. I believe the intent is to say "where the array 'array' satisfies all of the conditions in the $elematch expression, in other words where the value..."

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            andre.defrere@mongodb.com Andre de Frere
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 50 weeks, 5 days ago