func (t *Tree) Update(cb func (access TreeTransactionAccess) error) error {
	return t.db.Update(func(tx TreeDatabaseTransaction) error {
		return cb(&TreeTransaction{tx, true})
	})
}
// Update creates a transaction for the tree.
Update creates a transaction for the tree.
// Update creates a transaction for the tree .
func (t *Tree) Update(cb func (access TreeTransactionAccess) error) error {
	return t.db.Update(func(tx TreeDatabaseTransaction) error {
		return cb(&TreeTransaction{tx, true})
	})
}
func ( t * Tree ) Update ( cb func ( access TreeTransactionAccess ) error ) error { return t . db . Update ( func ( tx TreeDatabaseTransaction ) error { return cb ( & TreeTransaction { tx , true } ) } ) }
Update creates a transaction for the tree.
Update creates a transaction for the tree .