Description
There is no way to do a contains with the Mongo LINQ driver. This makes it very hard to do queries like the below:
|
var list = (from p in collection.AsQueryable<MyBaseData>()
|
where p.Id != null && |
ignoredIds.Contains(p.Id) == false && |
p.Reference != "Baked Goods" |
select p).ToList();
|
|
Attachments
Issue Links
- duplicates
-
CSHARP-3234 InvalidOperationException when check Contains() == false
-
- Closed
-
- is related to
-
CSHARP-462 Linq doesn't support "In" clause
-
- Closed
-