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

Make it possible to use offline writes in C bindings #1840

Merged
merged 3 commits into from
Nov 25, 2024
Merged

Conversation

haaawk
Copy link
Contributor

@haaawk haaawk commented Nov 25, 2024

This is to make it possible to test offline writes in opsqlite.
To make the integration easy we don't create a new factory function but modify libsql_open_sync_with_config to create offline writes database if primary url contains offline query parameter.

bindings/c/src/lib.rs Outdated Show resolved Hide resolved
libsql/src/database/builder.rs Outdated Show resolved Hide resolved
@haaawk haaawk added this pull request to the merge queue Nov 25, 2024
Merged via the queue into main with commit 3d52c07 Nov 25, 2024
18 checks passed
@haaawk haaawk deleted the opsqlite_offline branch November 25, 2024 17:20
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.

3 participants