summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGord Thompson <gord@gordthompson.com>2019-12-03 17:02:19 -0700
committerMike Bayer <mike_mp@zzzcomputing.com>2019-12-18 17:57:38 -0500
commit8d0e0cfbe1bd05cb83dd67da9998f1d025f15afd (patch)
tree672e5b449f808d3a1abe6f42c553a54fc7c6bfd5
parentf8568397bb65655b8a0db027fa0d3fbf59861215 (diff)
downloadsqlalchemy-8d0e0cfbe1bd05cb83dd67da9998f1d025f15afd.tar.gz
Add note re: pyodbc keywords in lowercase.
(cherry picked from commit 511964302467140a25fb50c68a1c96d24a079b80)
-rw-r--r--lib/sqlalchemy/dialects/mssql/pyodbc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/mssql/pyodbc.py b/lib/sqlalchemy/dialects/mssql/pyodbc.py
index 42715733d..602e875cb 100644
--- a/lib/sqlalchemy/dialects/mssql/pyodbc.py
+++ b/lib/sqlalchemy/dialects/mssql/pyodbc.py
@@ -53,6 +53,8 @@ name must be URL encoded which means using plus signs for spaces::
Other keywords interpreted by the Pyodbc dialect to be passed to
``pyodbc.connect()`` in both the DSN and hostname cases include:
``odbc_autotranslate``, ``ansi``, ``unicode_results``, ``autocommit``.
+Note that in order for the dialect to recognize these keywords
+(including the ``driver`` keyword above) they must be all lowercase.
Pass through exact Pyodbc string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^