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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 2.14.0
    • None
    • LINQ3
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: