MCPcopy
hub / github.com/Masterminds/squirrel / PreparerContext

Interface PreparerContext

stmtcacher_ctx.go:14–17  ·  view source on GitHub ↗

PrepareerContext is the interface that wraps the Prepare and PrepareContext methods. Prepare executes the given query as implemented by database/sql.Prepare. PrepareContext executes the given query as implemented by database/sql.PrepareContext.

Source from the content-addressed store, hash-verified

12// Prepare executes the given query as implemented by database/sql.Prepare.
13// PrepareContext executes the given query as implemented by database/sql.PrepareContext.
14type PreparerContext interface {
15 Preparer
16 PrepareContext(ctx context.Context, query string) (*sql.Stmt, error)
17}
18
19// DBProxyContext groups the Execer, Queryer, QueryRower and PreparerContext interfaces.
20type DBProxyContext interface {

Callers 1

PrepareContextMethod · 0.65

Implementers 2

StmtCachestmtcacher.go
DBStubsquirrel_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…