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

Add $eq support to queryOperatorMap

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • None
    • Fully Compatible
    • v4.4
    • Query 2020-12-14

    Description

      Equality ($eq) was previously omitted from the queryOperatorMap because it is was used as the default return value for the MatchExpressionParser::parsePathAcceptingKeyword method when an operator was not recognized. Since then MatchExpressionParser::parsePathAcceptingKeyword has been modified to return a boost::optional and we can now differentiate.

      As part of this work we should also remove the TODO for SERVER-19565 which called out the above omission.

      Attachments

        Activity

          People

            james.wahlin@mongodb.com James Wahlin
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: