Skip to content

Commit

Permalink
Fix docs - connection to ibmdb via connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
amochin committed Oct 1, 2024
1 parent 82da587 commit 60debcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/index.html

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions src/DatabaseLibrary/connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,9 @@ def connect_to_database(
- _oracle_driver_mode_ - _thin_ is used as fallback for _oracledb_
Other custom params from keyword arguments and config file are passed to the Python DB module as provided -
normally as arguments for the _connect()_ function. However, when using *pyodbc*, the connection is established
using a connection string - so all the custom params are added into it instead of function arguments.
normally as arguments for the _connect()_ function.
However, when using *pyodbc* or *ibm_db*, the connection is established using a *connection string* -
so all the custom params are added into it instead of function arguments.
Set ``alias`` for `Handling multiple database connections`.
If the same alias is given twice, then previous connection will be overridden.
Expand Down

0 comments on commit 60debcd

Please sign in to comment.