[CSHARP-1445] Support arbitrary filters in the LINQ provider. Created: 15/Oct/15 Updated: 23/Sep/16 Resolved: 05/Aug/16 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Linq |
| Affects Version/s: | 2.1 |
| Fix Version/s: | 2.3 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Craig Wilson | Assignee: | Craig Wilson |
| Resolution: | Done | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
LINQ cannot express everything MongoDB can. There should be some generic syntax to support including a FilterDefinition into a LINQ query. |
| Comments |
| Comment by Githook User [ 05/Aug/16 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |
| Comment by Chris Robison [ 13/Apr/16 ] |
|
I would like to see this implemented. My specific use case is that some times I customize the construction of a query based on the inputs I get. For instance, if someone wants to filter in a search by the certain field, then I conditionally add that to the query. In the 1.x driver, Inject() was a very convenient way creating a customize query and passing it to LINQ. I'd still like to do that. |