GitHub

SqliteAcquirers

API reference for SqliteAcquirers.

What SqlClient.make needs to share one connection: leases and a borrower that hold the semaphore, and the cleanup of a failed COMMIT.

Attributes

AttributeTypeDescription
acquirerAcquirer
borrowerBorrower
transaction_acquirerAcquirer
on_commit_failureCallable[[Connection], Effect[None, SqlError]]
is_transactionCallable[[Connection], bool] | None

Functions

__init__

__init__(acquirer, borrower, transaction_acquirer, on_commit_failure, is_transaction) -> None
ParameterTypeDescription
acquirerAcquirer
borrowerBorrower
transaction_acquirerAcquirer
on_commit_failureCallable[[Connection], Effect[None, SqlError]]
is_transactionCallable[[Connection], bool] | None