destinations.impl.mssql.factory
mssql Objects
class mssql(Destination[MsSqlClientConfiguration, "MsSqlJobClient"])
__init__
def __init__(credentials: t.Union[MsSqlCredentials, t.Dict[str, t.Any],
str] = None,
create_indexes: bool = False,
has_case_sensitive_identifiers: bool = False,
destination_name: t.Optional[str] = None,
environment: t.Optional[str] = None,
**kwargs: t.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:
credentials
- Credentials to connect to the mssql database. Can be an instance ofMsSqlCredentials
or a connection string in the formatmssql://user:password@host:port/database
create_indexes
- Should unique indexes be createdhas_case_sensitive_identifiers
- Are identifiers used by mssql database case sensitive (following the collation)**kwargs
- Additional arguments passed to the destination config