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

Compare document fields in queries

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      None

      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

          Issue Links

            Activity

              People

              • Votes:
                35 Vote for this issue
                Watchers:
                28 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: