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

Document that {"a.0":1} syntax cannot be used to project array values

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • mongodb-2.6
    • None
    • manual
    • None

    Description

      When discussing projection against array fields, the documentation needs to explicitly state that {"a.0":1} syntax can't be used to project array values (in addition to pointing users to $slice / $elemMatch, as it currently does).

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 35 weeks, 3 days ago