Skip to content
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

Export DB file #184

Closed
steida opened this issue Aug 11, 2023 · 2 comments
Closed

Export DB file #184

steida opened this issue Aug 11, 2023 · 2 comments
Assignees

Comments

@steida
Copy link
Contributor

steida commented Aug 11, 2023

/** Export SQLite database as Uint8Array. */
readonly exportDatabase: () => Effect.Effect<Uint8Array>;

const byteArray = sqlite3.capi.sqlite3_js_db_export(myDb);
db.serializeAsync

@steida steida changed the title Add export DB file Add import/export DB file Nov 18, 2023
@danilaplee
Copy link
Contributor

and also implemented this

@steida steida changed the title Add import/export DB file Export DB file Mar 21, 2024
@steida steida self-assigned this Mar 21, 2024
@steida
Copy link
Contributor Author

steida commented May 5, 2024

Done

@steida steida closed this as completed May 5, 2024
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

No branches or pull requests

2 participants