MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / dbPreparer

Struct dbPreparer

internal/cmd/vet.go:330–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330type dbPreparer struct {
331 db *sql.DB
332}
333
334func (p *dbPreparer) Prepare(ctx context.Context, name, query string) error {
335 s, err := p.db.PrepareContext(ctx, query)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected