Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
Description
Because bsoncxx::document::value (and bsoncxx::document::view) are immutable, changing a field in a document requires building a new document from scratch, which is cumbersome (especially with deeply-nested fields). To facilitate creating copies of documents with changed fields, a `transform_document` function should be implemented.