-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
sqlite: expose backup api #56253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
sqlite: expose backup api #56253
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
587b99c
sqlite, test: expose sqlite online backup api
geeksilva97 cf9a853
sqlite: resolve backup promise with total transferred pages
geeksilva97 54e519d
sqlite,test: test DatabaseSync.prototype.backup interface
geeksilva97 b54bbba
sqlite: pass object to progress function instead of two args
geeksilva97 338dc68
fixup: improve tests
geeksilva97 33be389
sqlite: update interface
geeksilva97 52d27f4
doc: add backup docs
geeksilva97 3d84319
test: use temp dir to test invalid paths
geeksilva97 0facc64
doc: fixup: fix typos
geeksilva97 e83bd62
fixup: improve formatting
geeksilva97 a286748
fixup: centralize backup error handling
geeksilva97 67aae53
fixup: fix new env properties order
geeksilva97 c893ec2
fixup: await rejects assertion
geeksilva97 b4f8e67
sqlite,test,doc: move backup implementation to a separate function
geeksilva97 9723481
sqlite,doc: add more details about concurrent edits
geeksilva97 87cdfa9
sqlite,doc: use async/await in backup code example
geeksilva97 ec69076
sqlite: use proper functions to open/close database
geeksilva97 3c49571
test: close databases after test
geeksilva97 4c4d73b
sqlite: fix backup finalization when promise resolves
geeksilva97 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.