Close returns the pinned connection to the pool; it does not close the underlying DB.
()
| 129 | |
| 130 | // Close returns the pinned connection to the pool; it does not close the underlying DB. |
| 131 | func (e *PinnedExecutor) Close() error { |
| 132 | return e.conn.Close() |
| 133 | } |
| 134 | |
| 135 | func (e *PinnedExecutor) LastProfilingOutput() string { |
| 136 | data, err := os.ReadFile("/tmp/duckgres-profiling.json") |