[CSHARP-2232] Add Support for $[] array operator Created: 30/Mar/18 Updated: 11/Apr/22 Resolved: 11/Apr/22 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Linq |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Sami Ayari | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 7 |
| Labels: | rfw | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Comments |
| Comment by James Kovacs [ 11/Apr/22 ] | ||||||||||||||
|
We have implemented support for $[] in | ||||||||||||||
| Comment by Robert Stam [ 28/Jan/21 ] | ||||||||||||||
|
We are refactoring our LINQ implementation and will look at including support for this. | ||||||||||||||
| Comment by alexov inbox [ 26/Jan/21 ] | ||||||||||||||
|
plz add this future i think its fast | ||||||||||||||
| Comment by Christos Sakellarios [ 21/Apr/20 ] | ||||||||||||||
|
Is there any progress on this? | ||||||||||||||
| Comment by Wan Bachtiar [ 29/Jan/19 ] | ||||||||||||||
|
Hi Sami, Thanks for opening the feature request. The LINQ support for the all positional operator $[] is indeed missing. For a workaround, you can use the the non-typed operator in the mean time. For example, given the following documents:
To perform the equivalent update operation as below:
You can do:
Regards, |