Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
Description
Allow for the different clauses in $or & $in queries to limit their respective result sets.
I.E. something like
find ( { a : {$in : [ val1, val2, val3, val4, val5] } }).limit(5)
should allow me to have an option to get 5 results back for each value in the array. and then maybe set a hard limit of 25 to cap my total resultSet.
Attachments
Issue Links
- is duplicated by
-
SERVER-8566 Create a "limit per match" option for $in queries
-
- Closed
-