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

Retain the connector dialect without PostgreSQL-only capabilities.

Amazon Redshift does not implement DML RETURNING or PostgreSQL sequences. Server-generated IDENTITY values are not returned by the connector; callers needing a model key immediately must provide a client-generated primary key. This module is imported only when a Redshift engine is first constructed.

Method hasTable Check catalog membership with bound schema and table names.
Class Variable __slots__ Declare that this class introduces no additional instance slots.
Class Variable delete_returning Delete returning flag used by RedshiftDialect.
Class Variable insert_returning Insert returning flag used by RedshiftDialect.
Class Variable postfetch_lastrowid Postfetch lastrowid flag used by RedshiftDialect.
Class Variable preexecute_autoincrement_sequences Preexecute autoincrement sequences flag used by RedshiftDialect.
Class Variable supports_statement_cache Supports statement cache flag used by RedshiftDialect.
Class Variable update_returning Update returning flag used by RedshiftDialect.
Class Variable use_insertmanyvalues_wo_returning The official connector's executemany loops over individual network calls. Core can page supported multi-value INSERTs without RETURNING.
@reflection.cache
def hasTable(self, connection: Connection, table_name: str, schema: str | None = None, **_kw: object) -> bool: (source)

Check catalog membership with bound schema and table names.

The upstream reflection helper interpolates these identifiers into SQL string literals. CREATE TABLE's checkfirst path must keep them as values even when quoted identifiers contain apostrophes.

Parameters
connection:sqlalchemy.engine.ConnectionCore connection used by SQLAlchemy's reflection dispatch.
table_name:strExact table identifier to find.
schema:str | None, optionalExplicit namespace, or the current schema when omitted.
**_kw:objectReflection options accepted by the SQLAlchemy interface.
Returns
boolWhether the visible catalog contains this exact table.
__slots__: tuple = (source)

Declare that this class introduces no additional instance slots.

delete_returning: bool = (source)

Delete returning flag used by RedshiftDialect.

insert_returning: bool = (source)

Insert returning flag used by RedshiftDialect.

postfetch_lastrowid: bool = (source)

Postfetch lastrowid flag used by RedshiftDialect.

preexecute_autoincrement_sequences: bool = (source)

Preexecute autoincrement sequences flag used by RedshiftDialect.

supports_statement_cache: bool = (source)

Supports statement cache flag used by RedshiftDialect.

update_returning: bool = (source)

Update returning flag used by RedshiftDialect.

use_insertmanyvalues_wo_returning: bool = (source)

The official connector's executemany loops over individual network calls. Core can page supported multi-value INSERTs without RETURNING.