type database/sql.Tx
35 uses
database/sql (current package)
sql.go#L1730: func (db *DB) BeginTx(ctx context.Context, opts *TxOptions) (*Tx, error) {
sql.go#L1731: var tx *Tx
sql.go#L1747: func (db *DB) Begin() (*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#L1777: tx = &Tx{
sql.go#L1967: func (c *Conn) BeginTx(ctx context.Context, opts *TxOptions) (*Tx, error) {
sql.go#L2023: type Tx struct {
sql.go#L2067: func (tx *Tx) awaitDone() {
sql.go#L2082: func (tx *Tx) isDone() bool {
sql.go#L2093: func (tx *Tx) close(err error) {
sql.go#L2103: func (tx *Tx) grabConn(ctx context.Context) (*driverConn, releaseConn, error) {
sql.go#L2123: func (tx *Tx) txCtx() context.Context {
sql.go#L2131: func (tx *Tx) closemuRUnlockRelease(error) {
sql.go#L2136: func (tx *Tx) closePrepared() {
sql.go#L2145: func (tx *Tx) Commit() error {
sql.go#L2184: func (tx *Tx) rollback(discardConn bool) error {
sql.go#L2216: func (tx *Tx) Rollback() error {
sql.go#L2230: func (tx *Tx) PrepareContext(ctx context.Context, query string) (*Stmt, error) {
sql.go#L2252: func (tx *Tx) Prepare(query string) (*Stmt, error) {
sql.go#L2271: func (tx *Tx) StmtContext(ctx context.Context, stmt *Stmt) *Stmt {
sql.go#L2355: func (tx *Tx) Stmt(stmt *Stmt) *Stmt {
sql.go#L2361: func (tx *Tx) ExecContext(ctx context.Context, query string, args ...interface{}) (Result, error) {
sql.go#L2371: func (tx *Tx) Exec(query string, args ...interface{}) (Result, error) {
sql.go#L2376: func (tx *Tx) QueryContext(ctx context.Context, query string, args ...interface{}) (*Rows, error) {
sql.go#L2386: func (tx *Tx) Query(query string, args ...interface{}) (*Rows, error) {
sql.go#L2396: func (tx *Tx) QueryRowContext(ctx context.Context, query string, args ...interface{}) *Row {
sql.go#L2407: func (tx *Tx) QueryRow(query string, args ...interface{}) *Row {
sql.go#L2431: _ stmtConnGrabber = &Tx{}
github.com/jackc/pgx/v4/stdlib
sql.go#L85: fakeTxConns = make(map[*pgx.Conn]*sql.Tx)
sql.go#L107: fakeTxConns map[*pgx.Conn]*sql.Tx
sql.go#L772: var tx *sql.Tx
github.com/Masterminds/squirrel
stmtcacher.go#L107: Begin() (*sql.Tx, error)
stmtcacher.go#L119: func (sp *stmtCacheProxy) Begin() (*sql.Tx, error) {
golang.org/x/pkgsite/internal/database
database.go#L35: tx *sql.Tx
 |
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. |