Add support for server side expression as argument for $documents stage

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Builders, LINQ3
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In CSHARP-4220 we added support for specifying the documents for the $documents as either an AggregationExpressionDefinition or as a sequence of documents:

      database.Aggregate().Documents(aggregationExpression)
      
      // or
      
      collection.Aggregate().Documents(sequenceOfDocuments)

      We would like to investigate a new overload that would translate a C# Expression to MQL to generate the documents server side.

      This might look like this:

      database.Aggregate().Documents((NoPipelineInput _) => <expression>)
      

      Where <expression> would be executed server side.

       

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

                Created:
                Updated: