Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-378

provide a way to query for combined keys with $in

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • None
    • Query

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            grmblfrz Swen Thümmler
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: