Begin starts a pseudo nested transaction.
(ctx context.Context)
| 122 | type Tx interface { |
| 123 | // Begin starts a pseudo nested transaction. |
| 124 | Begin(ctx context.Context) (Tx, error) |
| 125 | |
| 126 | // Commit commits the transaction if this is a real transaction or releases the savepoint if this is a pseudo nested |
| 127 | // transaction. Commit will return an error where errors.Is(ErrTxClosed) is true if the Tx is already closed, but is |
no outgoing calls