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

Add $eq support to queryOperatorMap

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • v4.4
    • Query 2020-12-14

      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.

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

              Created:
              Updated:
              Resolved: