atoti_directquery_mssql.MsSqlConnectionInfo#
- class atoti_directquery_mssql.MsSqlConnectionInfo#
Information needed to connect to a Microsoft SQL Server database.
- __init__(url, /, *, password=None)#
Create a Microsoft SQL Server connection info.
- Parameters:
url (str) – The JDBC connection string. See https://learn.microsoft.com/en-us/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver16 for more information.
password (str | None) –
The password to connect to the database.
Passing it in this separate parameter allows to avoid having it logged alongside the connection string.
If
None
, a password is expected to be present in the passed url.