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

Implement read/write/deferred transaction modes #12

Open
CodingDoug opened this issue Jun 27, 2023 · 0 comments
Open

Implement read/write/deferred transaction modes #12

CodingDoug opened this issue Jun 27, 2023 · 0 comments
Assignees

Comments

@CodingDoug
Copy link

Similar to what's been implemented in TS by @honzasp , batch and transaction should have a mandatory first argument to indicate the mode.

See: https:/libsql/libsql-client-ts/blob/main/src/api.ts

As a temporary compatibility, the signature of the batch and transaction methods should continue to work as they have without a mode, defaulting to a write transaction.

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

3 participants