[CSHARP-3323] LINQ3: Finish implementing AstElemMatchFilter.RewriteElemMatchFilter Created: 12/Jan/21 Updated: 23/Nov/21 Resolved: 24/Mar/21 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | LINQ3 |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | CSHARP-2608 |
| Description |
|
The AstFilter used in AstElemMatchFilter use the special `$elem` field name to represent the elements being matched. But the server uses a special notation for `$elemMatch` filters which instead simply omits the field name. The RewriteElemMatchFilter rewrites a filter using `$elem` to the form expected by the server. RewriteElemMatchFilter is currently partially implemented, but needs to be completed. |
| Comments |
| Comment by Robert Stam [ 24/Mar/21 ] |
|
This was solved in a different way. |