provide a way to query for combined keys with $in

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Query
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      It would be great it mongodb could support queries for combined keys with $in
      In SQL, this would be something like SELECT * FROM t WHERE (c1, c2) IN ((?, ?), (?, ?), (?, ?))
      I'm not sure about the possible syntax of this command and how to distinguish it from queries for sub-objects, but it would be very useful for me. At the moment I have to introduce surrogate fields which contain the values from the fields to be queried, but this is not ideal.

            Assignee:
            Backlog - Query Team (Inactive)
            Reporter:
            Swen Thümmler
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: