Helper for returning multiple elements of an array, not just the first

XMLWordPrintableJSON

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

      It is very common that users want to return multiple matching entries of an array within a document (not just the first as $ does) that it would enhance productivity to add a helper method (e.g. that could just use $unwind followed by $match under the covers). The aggregation framework can be viewed as overkill and more to learn for just this purpose.

            Assignee:
            Unassigned
            Reporter:
            Matt Kalan
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: