Skip to content

fix(export): stream SQL, CSV, and JSON database dumps in paginated chunks - #321

Open
cocvn157 wants to merge 1 commit into
outerbase:mainfrom
cocvn157:fix/issue-59-streaming-database-dumps
Open

cocvn157 wants to merge 1 commit into
outerbase:mainfrom
cocvn157:fix/issue-59-streaming-database-dumps

Conversation

@cocvn157

@cocvn157 cocvn157 commented Nov 3, 2026 •

Copy link
Copy Markdown

Updates src/export/dump.ts, src/export/csv.ts, and src/export/json.ts to stream table rows in paginated chunks via ReadableStream instead of buffering the entire database into Cloudflare Worker memory at once when exporting large SQL, CSV, or JSON dumps.

Fixes #59
/claim #59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Database dumps do not work on large databases

1 participant