libsql-client-py icon indicating copy to clipboard operation
libsql-client-py copied to clipboard

Implement read/write/deferred transaction modes

Open CodingDoug opened this issue 2 years ago • 0 comments

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://github.com/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.

CodingDoug avatar Jun 27 '23 21:06 CodingDoug