ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Named database connection encapsulating the SQL engine.

Class _TransactionState Per-task stack of open transactions bound to one raw connection.
Function _text_statement Parse and cache a SQL string as a reusable textual statement.
Constant _NO_ACTIVE_TRANSACTION Error message used when transaction control has no active transaction.
@lru_cache(maxsize=256)
def _text_statement(sql: str) -> TextClause: (source)

Parse and cache a SQL string as a reusable textual statement.

Parameters
sql:strSQL text with optional named :param placeholders.
Returns
sqlalchemy.sql.elements.TextClauseSQLAlchemy textual statement with parsed bind parameters.
_NO_ACTIVE_TRANSACTION: str = (source)

Error message used when transaction control has no active transaction.

Value
'No active transaction on this connection.'