Implement `transform_document` helper

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Samuel Rossi (Inactive)
              Reporter:
              Samuel Rossi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: