Expand on the capabilities of "limit" to be able to limit each branch/clause of a $or & $in independently of one another

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Osmar Olivo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: