Session.connect_to_external_database(connection_config, /)
Connect to an external database using DirectQuery.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
ConnectionConfigclass. - Return type: ExternalDatabaseConnection[ExternalDatabaseConnectionConfigT]