You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[mssql] Respect custom "timeout" parameter in data source URIs
When constructing a URI for a SQL server connection, you can
now set a custom timeout for the connection using:
ds = QgsDataSourceUri()
# set host, etc
...
# set connection timeout to 20 seconds
ds.setParam('timeout', '20')
vl = QgsVectorLayer(ds.uri(), 'my layer', 'mssql')
0 commit comments