MCPcopy Create free account
hub / github.com/corestoreio/pkg / PrepareContext

Method PrepareContext

sql/dml/interfaces.go:32–32  ·  view source on GitHub ↗

PrepareContext - the provided context is used for the preparation of the statement, not for the execution of the statement. PrepareContext creates a prepared statement for later queries or executions. Multiple queries or executions may be run concurrently from the returned statement. The caller must

(ctx context.Context, query string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

PrepareMethod · 0.65
PrepareContextMethod · 0.65
initDBRCacheKeyMethod · 0.65
initDBRQBMethod · 0.65

Implementers 4

SQLErrDriverConsql/dml/connection_callback_test.go
dbMocksql/dml/interfaces_test.go
cbConnsql/dml/connection_callback.go
stmtWrappersql/dml/stmt.go

Calls

no outgoing calls

Tested by 1