GitHub

Borrower

API reference for Borrower.

Lends a connection to f for one statement, without a scope.

Functions

__call__

__call__[A, E, R](f) -> Effect[A, E | SqlError, R]
ParameterTypeDescription
fCallable[[Connection], Effect[A, E, R]]

Returns Effect[A, E | SqlError, R]

def __call__[A, E, R](
    self, f: Callable[[Connection], Effect[A, E, R]], /
) -> Effect[A, E | SqlError, R]: ...