[CSHARP-2186] Support Type Conversions in aggregation Created: 12/Feb/18 Updated: 28/Oct/23 Resolved: 10/Apr/23 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | LINQ3 |
| Affects Version/s: | None |
| Fix Version/s: | 2.19.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Rathi Gnanasekaran | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | GnG | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | Aggregation | ||||||||
| Documentation Changes: | Not Needed | ||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||
| Description |
|
The task is to support generating pipelines containing type conversion operators like the general purpose $convert and the type specific $toXyz operators in:
Simple type conversions can be expressed as C# cast expressions. It remains to be seen how conversions with options (see $convert onError and on Null arguments) might be expressed as C# expressions. |
| Comments |
| Comment by Patrick Gilfether [ 10/Apr/23 ] |
|
Fixed in LINQ 3.0 See: https://jira.mongodb.org/browse/CSHARP-3067 |
| Comment by Patrick Gilfether [ 10/Apr/23 ] |
|
james.kovacs@mongodb.com I'm marking this as closed (fixed in Linq 3.0) per discussion in comments on the following related tickets: |
| Comment by Jeffrey Yemin [ 03/Feb/19 ] |
|
ian@10gen.com LINQ is bonus |