A libSQL database client (@libsql/client's Client).
Attributes#
| Attribute | Type | Description |
|---|---|---|
protocol | SdkProtocol |
Functions#
execute#
execute(sql, args) -> ResultSet| Parameter | Type | Description |
|---|---|---|
sql | str | |
args | Sequence[object] |
Returns ResultSet
async def execute(self, sql: str, args: Sequence[object], /) -> ResultSet: ...transaction#
transaction(mode) -> LibsqlSdkTransaction| Parameter | Type | Description |
|---|---|---|
mode | TransactionMode |
Returns LibsqlSdkTransaction
async def transaction(self, mode: TransactionMode, /) -> LibsqlSdkTransaction: ...