atoti.Session.connect_to_external_database()#
- Session.connect_to_external_database(connection_config, /)#
Connect to an external database using DirectQuery.
Note
This feature is not part of the community edition: it needs to be unlocked.
- Parameters:
connection_config (ExternalDatabaseConnectionConfigT) – The config to connect to the external database. Each DirectQuery plugin has its own
ConnectionConfig
class.- Return type:
ExternalDatabaseConnection[ExternalDatabaseConnectionConfigT]