LINQ3: Move handling of $elem field name in $elemMatch to AstFieldOperation Render method

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.14.0
    • Affects Version/s: None
    • Component/s: LINQ3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Inside an $elemMatch:

      { $elemMatch : { $elem : { $gt : 0 } } } 

      Needs to be rendered as:

      { $elemMatch : { $gt : 0 } } 

      The $elem field name is only used internally because the AstFieldOperationFilter class requires a field. $elem represents the implied element being tested.

       

              Assignee:
              Robert Stam
              Reporter:
              Robert Stam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: