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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Querying
    • Minor Change
    • Query 2019-12-16
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Ian Boros
            Reporter:
            Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: