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

Method QueryRowxContext

sqlx_context.go:408–411  ·  view source on GitHub ↗
(ctx context.Context, query string, args ...interface{})

Source from the content-addressed store, hash-verified

406}
407
408func (q *qStmt) QueryRowxContext(ctx context.Context, query string, args ...interface{}) *Row {
409 rows, err := q.Stmt.QueryContext(ctx, args...)
410 return &Row{rows: rows, err: err, unsafe: q.Stmt.unsafe, Mapper: q.Stmt.Mapper}
411}
412
413func (q *qStmt) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error) {
414 return q.Stmt.ExecContext(ctx, args...)

Callers 1

QueryRowxContextMethod · 0.95

Calls 1

QueryContextMethod · 0.65

Tested by

no test coverage detected