-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Cases that should work:
{$and: \\{x: {$type: number}}, \\{x: {$not: {$type: array}}}} with x = any -> x is number
{$or: \\{x: {$type: number}}, \\{x: {$type: string}}} with x = any -> x is number|string|array
{$nor: \\{x: {$type: array}}} with x = any -> x is any except array
{$not: {$and: [...]}} -> input unchanged
{$not: {$or: [\{x: {$type: number}}, \\{y: {$type: string}}]}} with x, y = any -> x is any except number, y is any except string
- depends on
-
SERVER-134594 Implement TypeMatchExpression narrowing
-
- Closed
-
- related to
-
SERVER-135985 Implement aggregation pipeline logical operators
-
- Needs Scheduling
-