Document saving an in-memory database with SQLite.backup - #350
Merged
quinnj merged 3 commits intoSep 23, 2026
Merged
Conversation
Add a FAQ-style section showing how to persist an in-memory database to a file using the backup API, and list SQLite.backup in the API reference. Addresses JuliaDatabases#210
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #350 +/- ##
==========================================
+ Coverage 94.13% 95.81% +1.68%
==========================================
Files 4 4
Lines 563 622 +59
==========================================
+ Hits 530 596 +66
+ Misses 33 26 -7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
quinnj
reviewed
Sep 22, 2026
quinnj
left a comment
Member
There was a problem hiding this comment.
[Reviewed by AI] No actionable findings at 1c05cd7. I ran the backup example on Julia 1.12.6, closed the source connection, and reopened the saved file. Both rows and the returned path matched the documentation. The API-reference entry matches the existing SQLite.backup docstring.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a short "Saving an in-memory database to a file" section to the docs with a working example using the
SQLite.backupAPI added in #347, and listsSQLite.backupin the API reference (its docstring was not previously referenced anywhere in the built docs).Addresses #210 — the long-standing "how do I persist an in-memory DB" question now has a documented answer.
Docs-only change; example verified against SQLite.jl on Julia 1.11.