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

Method StatementQueryRow

internal/sqlbuilder/builder.go:605–611  ·  view source on GitHub ↗
(ctx context.Context, stmt *exql.Statement, args ...interface{})

Source from the content-addressed store, hash-verified

603}
604
605func (p *exprProxy) StatementQueryRow(ctx context.Context, stmt *exql.Statement, args ...interface{}) (*sql.Row, error) {
606 s, err := stmt.Compile(p.t)
607 if err != nil {
608 return nil, err
609 }
610 return compat.QueryRowContext(p.db, ctx, s, args), nil
611}
612
613var (
614 _ = db.SQL(&sqlBuilder{})

Callers

nothing calls this directly

Calls 2

QueryRowContextFunction · 0.92
CompileMethod · 0.65

Tested by

no test coverage detected