-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
Fully Compatible
-
QO 2023-01-09, QO 2023-01-23
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.