atoti.Session.connect_to_external_database()#

Session.connect_to_external_database(connection_info, /)#

Connect to an external database using DirectQuery.

Note

This feature is not part of the community edition: it needs to be unlocked.

Parameters:

connection_info (ExternalDatabaseConnectionInfo[ExternalDatabaseConnectionT, ExternalTableT_co]) – Information needed to connect to the external database. Each DirectQuery plugin has its own *ConnectionInfo class.

Return type:

ExternalDatabaseConnectionT