DB returns the underlying *sql.DB (for credential refresh and other direct access).
()
| 92 | |
| 93 | // DB returns the underlying *sql.DB (for credential refresh and other direct access). |
| 94 | func (e *PinnedExecutor) DB() *sql.DB { |
| 95 | return e.db |
| 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...) |
nothing calls this directly
no outgoing calls
no test coverage detected