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

Implement simple agg comparison for new optimizer

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.1.0-rc0
    • None
    • None
    • Fully Compatible

    Description

      Implement simple comparison, conjunction and disjunction.

       

      For example handle the following:

      $match: color:#660e7a}$expr: {{color:#660e7a}$or: : [{{color:#660e7a}$eq: ["$a", 1]}, {{color:#660e7a}$eq: ["$b", 2" target="_blank" rel="noopener">{{color:#660e7a}$and: [{{color:#660e7a}$eq: ["$a", 1]}, {{color:#660e7a}$eq: ["$b", 2}]},{{color:#660e7a}$eq: ["$c", 3]},]

      Attachments

        Activity

          People

            svilen.mihaylov@mongodb.com Svilen Mihaylov
            svilen.mihaylov@mongodb.com Svilen Mihaylov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: