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

Interface Preparer

stmtcacher.go:12–14  ·  view source on GitHub ↗

Prepareer is the interface that wraps the Prepare method. Prepare executes the given query as implemented by database/sql.Prepare.

Source from the content-addressed store, hash-verified

10//
11// Prepare executes the given query as implemented by database/sql.Prepare.
12type Preparer interface {
13 Prepare(query string) (*sql.Stmt, error)
14}
15
16// DBProxy groups the Execer, Queryer, QueryRower, and Preparer interfaces.
17type DBProxy interface {

Callers 1

PrepareMethod · 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…