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.

class documentation

class ThreadedResult: (source)

Constructor: ThreadedResult(result)

View In Hierarchy

Retain materialized Core results without exposing a live DBAPI cursor.

Method __init__ Buffer rows and generated-key metadata on the connection's worker.
Method mappings Expose materialized rows without another driver call.
Method scalar Return the first column of the first materialized row.
Class Variable __slots__ Declare the instance attribute slots reserved by this class.
Instance Variable _result Buffered rows retained after the live cursor has been closed.
Instance Variable inserted_primary_key Primary-key values returned for the inserted row.
Instance Variable rowcount Rowcount obtained from result.rowcount.
def __init__(self, result: CursorResult[Any]): (source)

Buffer rows and generated-key metadata on the connection's worker.

Parameters
result:sqlalchemy.engine.CursorResult[Any]Live Core result to consume and close before releasing its connection.
Returns
NoneNo return value.
def mappings(self) -> Iterable[Mapping[str, Any]]: (source)

Expose materialized rows without another driver call.

Returns
collections.abc.Iterable[collections.abc.Mapping[str, typing.Any]]Column-keyed rows retained in memory.
def scalar(self) -> object: (source)

Return the first column of the first materialized row.

Returns
objectFirst value, or None when there are no rows.
__slots__: tuple[str, ...] = (source)

Declare the instance attribute slots reserved by this class.

Buffered rows retained after the live cursor has been closed.

inserted_primary_key = (source)

Primary-key values returned for the inserted row.

rowcount = (source)

Rowcount obtained from result.rowcount.