method
Store.Begin
Begin a write-capable transaction with an immediate writer reservation.
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 SQLite implementation of Ridu’s document, snapshot, auth, preference, task, lock, version, and migration store contracts.
TransactionAtomic document reads and mutations.