Details
-
Bug
-
Resolution: Gone away
-
Unknown
-
None
-
None
-
None
Description
collection.UpdateOne fails if a {{$set, myStruct}} is supplied within a mongo pipeline, and the struct contains empty values.
However that same $set succeeds, when it's not within a pipeline.
Attachments
Issue Links
- is duplicated by
-
GODRIVER-1968 Pipeline can't handle empty structs and maps
-
- Closed
-
- is related to
-
SERVER-54046 Permit empty objects as expressions in $set and $addFields aggregation stages
-
- Closed
-