MSSQLConn
class MSSQLConn(
connection_string_or_uri: str,
credentials: UserPasswordCredentials | None = None,
enforce_connection_params: bool = True,
cx_src_configs_mssql: dict | None = None,
cx_dst_configs_mssql: dict | None = None,
)
Bases: Conn
Categories: connections
Represents a connection configuration to Microsoft SQL Server (MSSQL).
Initialize a MSSQLConn instance.
Parameters
connection_string_or_uriThe connection string or URI for the MSSQL database.
enforce_connection_paramsWhether to enforce connection parameters for the MSSQL connection. Applicable only for a connection to a MSSQL Destination. Defaults to True.
cx_src_configs_mssqlSource-specific configuration parameters for the MSSQL connection. Defaults to None.
cx_dst_configs_mssqlDestination-specific configuration parameters for the MSSQL connection. Defaults to None.
Properties
connection_string_or_uristrThe connection string or URI for the MSSQL database.
credentialsUserPasswordCredentials | NoneThe credentials used to authenticate with the database.
cx_dst_configs_mssqldictThe destination configuration parameters for the MSSQL connection.
cx_src_configs_mssqldictThe source configuration parameters for the MSSQL connection.
enforce_connection_paramsboolWhether to enforce connection parameters for the MSSQL connection. Applicable only for a connection to a MSSQL Destination.
uristrThe URI for the MSSQL database.