-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
ALL
-
-
Query 2019-12-30
Original Summary
$and does not short-circuit
Original Description
I think this is a bug. Check the "Steps To Reproduce". The interesting thing is that if one of the two expressions in the `$or` part is removed, then the query executes fine. Otherwise it leads to `$in requires an array as a second argument, found: objectId`.
- related to
-
SERVER-37530 Provide a way to cause a well-defined order of evaluation for predicates
- Backlog
-
SERVER-45231 Provide a way to cause a well-defined order of evaluation for predicates
- Closed