Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3872

LINQ3: Move some simplifications from Render methods to new AstSimplifier class

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.14.0
    • Affects Version/s: None
    • Component/s: LINQ3
    • None

      The following simplifications currently being done in Render methods should be done by rewriting the AST tree in a new AstSimplifier class:

      • replace $getField with field path expression or $let when possible
      • replace $map/$getField with $getField
      • replace $first and $last with $arrayElemAt

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: