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

Method Exec

internal/sqlbuilder/builder.go:151–153  ·  view source on GitHub ↗
(query interface{}, args ...interface{})

Source from the content-addressed store, hash-verified

149}
150
151func (b *sqlBuilder) Exec(query interface{}, args ...interface{}) (sql.Result, error) {
152 return b.ExecContext(b.sess.Context(), query, args...)
153}
154
155func (b *sqlBuilder) ExecContext(ctx context.Context, query interface{}, args ...interface{}) (sql.Result, error) {
156 switch q := query.(type) {

Callers

nothing calls this directly

Calls 2

ExecContextMethod · 0.95
ContextMethod · 0.65

Tested by

no test coverage detected