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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • mongodb-2.6
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      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).

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

              Created:
              Updated:
              Resolved:
              5 years, 44 weeks, 6 days ago