Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for prepareContent (0.13 sec)

  1. api/go1.8.txt

    pkg database/sql/driver, type ConnBeginTx interface, BeginTx(context.Context, TxOptions) (Tx, error)
    pkg database/sql/driver, type ConnPrepareContext interface { PrepareContext }
    pkg database/sql/driver, type ConnPrepareContext interface, PrepareContext(context.Context, string) (Stmt, error)
    pkg database/sql/driver, type ExecerContext interface { ExecContext }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  2. src/database/sql/fakedb_test.go

    	}
    	return stmt, nil
    }
    
    // hook to simulate broken connections
    var hookPrepareBadConn func() bool
    
    func (c *fakeConn) Prepare(query string) (driver.Stmt, error) {
    	panic("use PrepareContext")
    }
    
    func (c *fakeConn) PrepareContext(ctx context.Context, query string) (driver.Stmt, error) {
    	c.numPrepare++
    	if c.db == nil {
    		panic("nil c.db; conn = " + fmt.Sprintf("%#v", c))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. src/database/sql/driver/driver.go

    }
    
    // ConnPrepareContext enhances the [Conn] interface with context.
    type ConnPrepareContext interface {
    	// PrepareContext returns a prepared statement, bound to this connection.
    	// context is for the preparation of the statement,
    	// it must not store the context within the statement itself.
    	PrepareContext(ctx context.Context, query string) (Stmt, error)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 09:04:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. api/go1.9.txt

    pkg database/sql, method (*Conn) ExecContext(context.Context, string, ...interface{}) (Result, error)
    pkg database/sql, method (*Conn) PingContext(context.Context) error
    pkg database/sql, method (*Conn) PrepareContext(context.Context, string) (*Stmt, error)
    pkg database/sql, method (*Conn) QueryContext(context.Context, string, ...interface{}) (*Rows, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
Back to top