[CSHARP-3557] LINQ3: Add factory methods for AstComputedField Created: 08/Apr/21  Updated: 28/Oct/23  Resolved: 04/Oct/21

Status: Closed
Project: C# Driver
Component/s: LINQ3
Affects Version/s: None
Fix Version/s: 2.14.0

Type: Task Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CSHARP-2608

 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. 



 Comments   
Comment by Robert Stam [ 08/Apr/21 ]

Done but not reviewed

Generated at Wed Feb 07 21:45:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.