atoti_directquery_redshift.connection module#

class atoti_directquery_redshift.RedshiftConnection#

Connection to an external Redshift database.

Use atoti.Session.connect_to_external_database() to create one.

Example :

>>> external_database = session.connect_to_external_database(connection_info)
property cache: Optional[bool]#

Whether the external database should cache the query results or not.

Return type

Optional[bool]

property tables: atoti.directquery.external_tables.ExternalTables[atoti.directquery._external_table.ExternalTableT]#

Tables of the external database.

Return type

ExternalTables[TypeVar(ExternalTableT, bound= ExternalTable, covariant=True)]