Add a method in the MatchExpressionParser for checking whether an operator is top-level

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.13
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2017-07-31, Query 2017-08-21, Query 2017-09-11
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This should prevent us from having to update the $elemMatch parser as we add new top-level expressions:

      https://github.com/mongodb/mongo/blob/e4ee6ba2f69d402bb682decd53f635146cc3fafb/src/mongo/db/matcher/expression_parser.cpp#L704-L707

            Assignee:
            Tess Avitabile (Inactive)
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: