[CSHARP-4339] Add support for $documents in LINQ Created: 30/Sep/22 Updated: 23/Mar/23 Resolved: 14/Dec/22 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | LINQ3 |
| Affects Version/s: | None |
| Fix Version/s: | 2.19.0 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
In This ticket is about adding similar support in LINQ. The syntax could look like this:
Note that there currently is not an AsQueryable method on database (only on collection), so this would be a new method. Also, the LINQ machinery currently assumes that all LINQ queries are against a collection, so before the LINQ version of Documents can be implemented the LINQ machinery will have to be refactored to allow queries against either a collection or a database.
|
| Comments |
| Comment by Githook User [ 14/Dec/22 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Githook User [ 14/Dec/22 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |