Loading...

verticapy.connection.global_connection.GlobalConnection

class verticapy.connection.global_connection.GlobalConnection

Main Class to store the Global Connection used by all VerticaPy objects.

__init__() None

Methods

__init__()

get_connection()

Returns the current connection.

get_dsn()

Returns the current dsn.

get_dsn_section()

Returns the current dsn section.

get_external_connections()

Returns the external connection.

set_connection(conn[, section, dsn])

Returns the current dsn section.

set_external_connections(symbol, cid, rowset)

Returns the current dsn section.

Attributes

special_symbols

List of special symbols that can be assigned to any external database.

vpy_auto_connection

vpy_session_identifier

vpy_session_label