method
Store.Begin
Begin a majority-committed snapshot-isolated write transaction.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
Returns
The declared result.
(store.Transaction, error)Full signature
func (backend *Store) Begin(ctx context.Context) (store.Transaction, error)Related types
StoreA replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.
TransactionAtomic document reads and mutations.