-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
QE 2022-07-11
Although it looks like a contradiction at a glance, the query
{$and: [{a: 1}, {a: 2}]}
Matches the document
{a: [1, 2]}as each predicate is applied after implicitly traversing the leaf array. This query works on classic but does not return the matching document with Bonsai enabled.
The relevant test is here ($all is sugar for $and).
- duplicates
-
SERVER-67771 Allow duplicate multi-key entries in PartialSchemaRequirements map
- Closed
- related to
-
SERVER-67771 Allow duplicate multi-key entries in PartialSchemaRequirements map
- Closed