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

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since reply:
                  1 year, 26 weeks, 2 days ago
                  Date of 1st Reply: