(ctx context.Context, query string, args ...any)
| 96 | } |
| 97 | |
| 98 | func (e *PinnedExecutor) QueryContext(ctx context.Context, query string, args ...any) (RowSet, error) { |
| 99 | rows, err := e.conn.QueryContext(ctx, query, args...) |
| 100 | if err != nil { |
| 101 | return nil, err |
| 102 | } |
| 103 | return &LocalRowSet{rows: rows}, nil |
| 104 | } |
| 105 | |
| 106 | func (e *PinnedExecutor) ExecContext(ctx context.Context, query string, args ...any) (ExecResult, error) { |
| 107 | return e.conn.ExecContext(ctx, query, args...) |
nothing calls this directly
no test coverage detected