Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StmtContext (0.11 sec)

  1. prepare_stmt.go

    func (tx *PreparedStmtTX) ExecContext(ctx context.Context, query string, args ...interface{}) (result sql.Result, err error) {
    	stmt, err := tx.PreparedStmtDB.prepare(ctx, tx.Tx, true, query)
    	if err == nil {
    		result, err = tx.Tx.StmtContext(ctx, stmt.Stmt).ExecContext(ctx, args...)
    		if errors.Is(err, driver.ErrBadConn) {
    			tx.PreparedStmtDB.Mux.Lock()
    			defer tx.PreparedStmtDB.Mux.Unlock()
    
    			go stmt.Close()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. interfaces.go

    }
    
    // TxCommitter tx committer
    type TxCommitter interface {
    	Commit() error
    	Rollback() error
    }
    
    // Tx sql.Tx interface
    type Tx interface {
    	ConnPool
    	TxCommitter
    	StmtContext(ctx context.Context, stmt *sql.Stmt) *sql.Stmt
    }
    
    // Valuer gorm valuer interface
    type Valuer interface {
    	GormValue(context.Context, *DB) clause.Expr
    }
    
    // GetDBConnector SQL db connector
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Aug 19 13:33:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. api/go1.8.txt

    pkg database/sql, method (*Tx) QueryContext(context.Context, string, ...interface{}) (*Rows, error)
    pkg database/sql, method (*Tx) QueryRowContext(context.Context, string, ...interface{}) *Row
    pkg database/sql, method (*Tx) StmtContext(context.Context, *Stmt) *Stmt
    pkg database/sql, type ColumnType struct
    pkg database/sql, type IsolationLevel int
    pkg database/sql, type NamedArg struct
    pkg database/sql, type NamedArg struct, Name string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
Back to top