dlt.destinations.impl.mssql.factory
mssql Objects
class mssql(Destination[MsSqlClientConfiguration, "MsSqlJobClient"])
__init__
def __init__(credentials: Union[MsSqlCredentials, Dict[str, Any], str] = None,
             create_indexes: bool = False,
             has_case_sensitive_identifiers: bool = False,
             destination_name: str = None,
             environment: str = None,
             **kwargs: Any) -> None
Configure the MsSql destination to use in a pipeline.
All arguments provided here supersede other configuration sources such as environment variables and dlt config files.
Arguments:
- credentialsUnion[MsSqlCredentials, Dict[str, Any], str], optional - Credentials to connect to the mssql database. Can be an instance of- MsSqlCredentialsor a connection string in the format- mssql://user:password@host:port/database
- create_indexesbool, optional - Should unique indexes be created
- has_case_sensitive_identifiersbool, optional - Are identifiers used by mssql database case sensitive (following the collation)
- destination_namestr, optional - Name of the destination, can be used in config section to differentiate between multiple of the same type
- environmentstr, optional - Environment of the destination
- **kwargsAny - Additional arguments passed to the destination config