class documentation

class _ThreadedConnectionAdapter: (source)

View In Hierarchy

Asynchronous database connection that binds to a specific thread.

Async Method close Close the connection if it hasn't been closed yet.
Async Method commit Roll back the current transaction.
Async Method cursor Construct a new async cursor.
Async Method rollback Roll back the current transaction.
Property paramstyle Undocumented
Method _getConnection Get the connection, raising an exception if it's already been invalidated.
Class Variable _exclusive Undocumented
Class Variable _paramstyle Undocumented
Instance Variable _connection Undocumented
async def close(self): (source)

Close the connection if it hasn't been closed yet.

async def commit(self): (source)

Roll back the current transaction.

async def cursor(self) -> ThreadedCursorAdapter: (source)

Construct a new async cursor.

async def rollback(self): (source)

Roll back the current transaction.

paramstyle: ParamStyle = (source)

Undocumented

def _getConnection(self, invalidate: bool = False) -> DBAPIConnection: (source)

Get the connection, raising an exception if it's already been invalidated.

Undocumented

_paramstyle: ParamStyle = (source)

Undocumented

Undocumented