[SERVER-588] Ability to retrieve embedded array of a certain size only Created: 30/Jan/10  Updated: 30/Jan/10  Resolved: 30/Jan/10

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Fernand Galiana Assignee: Eliot Horowitz (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

any


Participants:

 Description   

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



 Comments   
Comment by Eliot Horowitz (Inactive) [ 30/Jan/10 ]

see SERVER-589

Generated at Thu Feb 08 02:54:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.