MCPcopy Index your code
hub / github.com/upper/db / Prepare

Method Prepare

internal/sqlbuilder/update.go:171–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169}
170
171func (upd *updater) Prepare() (*sql.Stmt, error) {
172 return upd.PrepareContext(upd.SQL().sess.Context())
173}
174
175func (upd *updater) PrepareContext(ctx context.Context) (*sql.Stmt, error) {
176 uq, err := upd.build()

Callers

nothing calls this directly

Calls 3

PrepareContextMethod · 0.95
SQLMethod · 0.95
ContextMethod · 0.65

Tested by

no test coverage detected