Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StmtContext (0.06 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.Stmts.Delete(query)
    		}
    	}
    	return result, err
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top