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

LINQ3: Add factory methods for AstComputedField

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.14.0
    • None
    • LINQ3
    • None

    Description

      Add this factory method to create a single AstComputedField:

      public static AstComputedField ComputedField(string name, AstExpression value) 

      and this factory method to create multiple AstComputedField(s):

      public static IEnumerable<AstComputedField> ComputedFields(params (string name, AstExpression value)[] fields)

      Put this factory method in AstExpression along with all the other factory methods even though the return value is an AstComputedField instead of an AstExpression. 

      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: