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

Clarify query $elemMatch Description

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • v1.3.1
    • manual
    • 4
    • true

    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
            Jonathan Dahl Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 31 weeks, 1 day ago