MCPcopy
hub / github.com/jmoiron/sqlx / QueryxContext

Method QueryxContext

sqlx_context.go:391–394  ·  view source on GitHub ↗

QueryxContext using this statement. Any placeholder parameters are replaced with supplied args.

(ctx context.Context, args ...interface{})

Source from the content-addressed store, hash-verified

389// QueryxContext using this statement.
390// Any placeholder parameters are replaced with supplied args.
391func (s *Stmt) QueryxContext(ctx context.Context, args ...interface{}) (*Rows, error) {
392 qs := &qStmt{s}
393 return qs.QueryxContext(ctx, "", args...)
394}
395
396func (q *qStmt) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) {
397 return q.Stmt.QueryContext(ctx, args...)

Callers

nothing calls this directly

Calls 1

QueryxContextMethod · 0.95

Tested by

no test coverage detected