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

Method Query

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

Source from the content-addressed store, hash-verified

166}
167
168func (b *sqlBuilder) Query(query interface{}, args ...interface{}) (*sql.Rows, error) {
169 return b.QueryContext(b.sess.Context(), query, args...)
170}
171
172func (b *sqlBuilder) QueryContext(ctx context.Context, query interface{}, args ...interface{}) (*sql.Rows, error) {
173 switch q := query.(type) {

Callers

nothing calls this directly

Calls 2

QueryContextMethod · 0.95
ContextMethod · 0.65

Tested by

no test coverage detected