-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
QO 2022-03-21, QO 2022-04-04
From the design:
Update and delete are both write commands which are handled through the BatchedCommandRequest class. The "q" field on UpdateOpEntry and DeleteOpEntry contains the BSON for a MatchExpression. If there may be FLE2 rewrites to be done, after update and delete commands are parsed we will add a transformation pass similar to findAndModify which will take in BSON for a MatchExpression and return BSON for the rewritten MatchExpression, calling rewriteQueryOnEncryptedFields() on the parsed MatchExpression. This rewritten match expression will be inserted into the parsed request document and returned from the parsing functions.
- is duplicated by
-
SERVER-63296 Server-side rewrite for delete command on mongod
- Closed