QueryRowContext delegates down to the underlying PreparerContext using a prepared statement
(ctx context.Context, query string, args ...interface{})
| 78 | |
| 79 | // QueryRowContext delegates down to the underlying PreparerContext using a prepared statement |
| 80 | func (sc *StmtCache) QueryRowContext(ctx context.Context, query string, args ...interface{}) RowScanner { |
| 81 | stmt, err := sc.PrepareContext(ctx, query) |
| 82 | if err != nil { |
| 83 | return &Row{err: err} |
| 84 | } |
| 85 | return stmt.QueryRowContext(ctx, args...) |
| 86 | } |
nothing calls this directly
no test coverage detected