-
Type:
New Feature
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
None
-
Environment:any
-
None
-
None
-
None
-
None
-
None
-
None
-
None
It would be very cool to have the ability to retrieve documents with embedded array of at least a certain size. Currently
I believe you can only retrieve element of a given size and not a range ie > 20 but less than 50 for example.
ie
cltn.find( { freds:{ $size:
{ $gte => 20, $lte:50 }} } ) => returns all the doc whose freds array size is gte 10