atoti.directquery.database_connection module#

class atoti.ExternalDatabaseConnection#

Connection to an external database.

property tables: atoti.directquery.external_tables.ExternalDatabaseTables[atoti.directquery.external_table.ExternalTableT]#

All the tables of the external database.

Return type

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

class atoti.ExternalDatabaseWithCache#

A database where caching can be toggled.

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.ExternalDatabaseTables[atoti.directquery.external_table.ExternalTableT]#

All the tables of the external database.

Return type

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