type database/sql.TxOptions
11 uses
database/sql (current package)
ctxutil.go#L97: func ctxDriverBegin(ctx context.Context, opts *TxOptions, ci driver.Conn) (driver.Tx, error) {
sql.go#L163: type TxOptions struct {
sql.go#L1730: func (db *DB) BeginTx(ctx context.Context, opts *TxOptions) (*Tx, error) {
sql.go#L1751: func (db *DB) begin(ctx context.Context, opts *TxOptions, strategy connReuseStrategy) (tx *Tx, err error) {
sql.go#L1760: func (db *DB) beginDC(ctx context.Context, dc *driverConn, release func(error), opts *TxOptions) (tx *Tx, err error) {
sql.go#L1967: func (c *Conn) BeginTx(ctx context.Context, opts *TxOptions) (*Tx, error) {
github.com/golang-migrate/migrate/v4/database/postgres
postgres.go#L251: tx, err := p.conn.BeginTx(context.Background(), &sql.TxOptions{})
golang.org/x/pkgsite/internal/database
database.go#L37: opts sql.TxOptions // valid when tx != nil
database.go#L177: opts := &sql.TxOptions{Isolation: iso}
database.go#L193: func (db *DB) transactWithRetry(ctx context.Context, opts *sql.TxOptions, txFunc func(*DB) error) (err error) {
database.go#L237: func (db *DB) transact(ctx context.Context, opts *sql.TxOptions, txFunc func(*DB) error) (err error) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |