khonsulabs/bonsaidb

CollectionDocument should have helpers for Transactions

ecton opened this issue · 0 comments

ecton commented

Currently, updating a collection document inside of a transaction requires breaking the collection document into parts. It would be preferable to be able to do something like doc.update_in(&mut tx)? to add an update operation to the transaction.