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

Compare document fields in queries

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2017-10-23

      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?

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

              Created:
              Updated:
              Resolved: