Consider using "isMember" to implement disjunction of Eqs

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • QO 2023-01-09, QO 2023-01-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When implementing SargableNode s, we can consider creating an expression which uses PathCompare [EqMember], rather than a composition of many PathCompare s.

      A good place for implementation could be within the lowerPartialSchemaRequirement function.

      This ticket is inspired by the approach here, which created a FilterNode with a call to isMember during translation of a $in.

            Assignee:
            Will Buerger
            Reporter:
            Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: