github.com/jackc/pgx/v4.dbTx.conn (field)
15 uses
github.com/jackc/pgx/v4 (current package)
tx.go#L85: return &dbTx{conn: c}, nil
tx.go#L168: conn *Conn
tx.go#L181: _, err := tx.conn.Exec(ctx, "savepoint sp_"+strconv.FormatInt(tx.savepointNum, 10))
tx.go#L221: commandTag, err := tx.conn.Exec(ctx, "commit")
tx.go#L224: if tx.conn.PgConn().TxStatus() != 'I' {
tx.go#L225: _ = tx.conn.Close(ctx) // already have error to return
tx.go#L245: _, err := tx.conn.Exec(ctx, "rollback")
tx.go#L249: tx.conn.die(fmt.Errorf("rollback failed: %w", err))
tx.go#L258: return tx.conn.Exec(ctx, sql, arguments...)
tx.go#L267: return tx.conn.Prepare(ctx, name, sql)
tx.go#L278: return tx.conn.Query(ctx, sql, args...)
tx.go#L293: return tx.conn.QueryFunc(ctx, sql, args, scans, f)
tx.go#L302: return tx.conn.CopyFrom(ctx, tableName, columnNames, rowSrc)
tx.go#L311: return tx.conn.SendBatch(ctx, b)
tx.go#L320: return tx.conn
 |
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. |