Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
1.9.2
-
None
Description
Look at example for elemMatch: http://docs.mongodb.org/manual/reference/operator/query/elemMatch/#op._S_elemMatch
Try to create such a query:
{ results: { $elemMatch:
} }
It should look something like this:
Query.ElemMatch("results", Query.And(Query.GTE(80), Query.LT(85)))
But it is not possible, since GTE, GT, LTE, LT and all other similar methods require a name. It will either throw null reference, or, if you set any name, query will not return any results.
Attachments
Issue Links
- related to
-
CSHARP-1585 Support for Filters without name in C# Driver
-
- Backlog
-