- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ConnPrepareContext (1.47 sec)
-
src/database/sql/ctxutil.go
package sql import ( "context" "database/sql/driver" "errors" ) func ctxDriverPrepare(ctx context.Context, ci driver.Conn, query string) (driver.Stmt, error) { if ciCtx, is := ci.(driver.ConnPrepareContext); is { return ciCtx.PrepareContext(ctx, query) } si, err := ci.Prepare(query) if err == nil { select { default: case <-ctx.Done(): si.Close() return nil, ctx.Err() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 02 12:57:37 UTC 2019 - 3.5K bytes - Viewed (0) -
src/database/sql/driver/driver.go
// Begin starts and returns a new transaction. // // Deprecated: Drivers should implement ConnBeginTx instead (or additionally). Begin() (Tx, error) } // 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,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 09:04:12 UTC 2023 - 20.9K bytes - Viewed (0) -
api/go1.8.txt
pkg database/sql/driver, type ConnBeginTx interface { BeginTx } 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) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(RowsAffected).LastInsertId", Method, 0}, {"(RowsAffected).RowsAffected", Method, 0}, {"Bool", Var, 0}, {"ColumnConverter", Type, 0}, {"Conn", Type, 0}, {"ConnBeginTx", Type, 8}, {"ConnPrepareContext", Type, 8}, {"Connector", Type, 10}, {"DefaultParameterConverter", Var, 0}, {"Driver", Type, 0}, {"DriverContext", Type, 10}, {"ErrBadConn", Var, 0}, {"ErrRemoveArgument", Var, 9},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)