Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6468

Treat nested and dotted projections the same

    • ALL

      All four of these $projections should do the same thing:

      {'a.b': 1} // classic inclusion
      {a: {b: 1} // nested inclusion
      {'a.b': '$a.b'} // dotted FieldPathExpression
      {a: {b: '$a.b'} // nested FieldPathExpression
      

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: