[CSHARP-3009] BsonExtraElement query Created: 11/Mar/20 Updated: 31/Mar/22 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | API |
| Affects Version/s: | 2.10.2 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | zeng pu | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
for this scene Here is my model class: {{}}
{{}}{{}}Here is the query part:
a solution is like this
but this is not friendly MongoDb.Driver has many ExpressionVistor,the query like
can be convert to
in driver internal, this is more important for general queries,to avoid using the above code,that more friendly
|