Description

Update invokes the passed function in the context of a managed read-write transaction with the root bucket for the namespace. Any errors returned from the user-supplied function will cause the transaction to be rolled back and are returned from this function. Otherwise, the transaction is committed when the user-supplied function returns a nil error.

This function is part of the database.DB interface implementation.

Update is referenced in 0 repositories