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

Disallow additional path components after the positional projection ("$") operator

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.3
    • None
    • Querying
    • Minor Change
    • Query 2019-12-16

    Description

      Positional projections

      a.b.$ 

      and 

      a.b.$.c 

       

      Are treated equivalently. By most, this is considered a bug (see SERVER-6866). We should consider breaking this behavior, and making any positional projection with fields after the '$' illegal.

      Attachments

        Activity

          People

            ian.boros@mongodb.com Ian Boros
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: