-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: 1.9.2
-
Component/s: API
-
None
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.
- related to
-
CSHARP-1585 Support for $elemMatch filters directly against the elements with no field name
-
- Closed
-