Commit 76823cb
docs: warn that fetchone() materializes the entire result set
dqlite returns all matching rows in one response (no server-side
cursors). fetchone() delegates to fetch() which reads all rows into
memory. Add a docstring note advising users to add LIMIT 1 for large
result sets.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4c39fd2 commit 76823cb
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
278 | 283 | | |
279 | 284 | | |
280 | 285 | | |
| |||
0 commit comments