Given the amount of code re-use, this ticket should handle the following cases:
- Reject regex elements within a $in expression.
- Encrypted elements within object in a $in expression
- Encrypted elements in RHS object of comparison expressions:
{a: {$eq: {b: 1}}} {a: {$gt: {b: 1}} ...
Note that an encrypted field in a non-equality comparison should fail.
- depends on
-
SERVER-39233 [FLE] Implement method for replacing elements in a MatchExpression with an encryption placeholder
- Closed
-
SERVER-39252 [FLE] Handle $eq to an object in a MatchExpression
- Closed