Commit 9bb9aee
Add query_raw() method for DBAPI cursor integration
Add a public query_raw() method that returns (column_names, rows)
through _run_protocol(), providing _in_use guard, connection
invalidation on fatal errors, and leader-change detection. This gives
the DBAPI cursor a proper public API to use instead of accessing
_protocol directly.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a4d40f0 commit 9bb9aee
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
240 | 251 | | |
241 | 252 | | |
242 | 253 | | |
| |||
0 commit comments