Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion libsql_experimental.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ class Connection:
@property
def in_transaction(self) -> bool: ...

@property
def autocommit(self) -> int: ...

def commit(self) -> None: ...
def cursor(self) -> Cursor: ...
def sync(self) -> None: ...
Expand All @@ -61,5 +64,6 @@ def connect(database: str,
sync_url: str = ...,
sync_interval: float = ...,
auth_token: str = ...,
encryption_key: str = ...) -> Connection:
encryption_key: str = ...,
autocommit: int = ...) -> Connection:
"""Open a new libSQL connection, return a Connection object."""
Loading