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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: mongodb-2.6
    • Component/s: manual
    • Labels:
      None
    • # Replies:
      3
    • Last comment by Customer:
      true

      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                2 years, 5 weeks, 1 day ago
                Date of 1st Reply: