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

Compare document fields in queries

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Querying
    • None
    • Fully Compatible
    • Query 2017-10-23

    Description

      It would be rather handy to do things like :

      db.test.find({a:{$gt:b}})

      In other words, be able to query based on document fields comparison. Any plans for this?

      Attachments

        Activity

          People

            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            remonvv Remon van Vliet
            Votes:
            35 Vote for this issue
            Watchers:
            27 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: