]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add note re: pyodbc keywords in lowercase.
authorGord Thompson <gord@gordthompson.com>
Wed, 4 Dec 2019 00:02:19 +0000 (17:02 -0700)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 18 Dec 2019 22:57:41 +0000 (17:57 -0500)
(cherry picked from commit 511964302467140a25fb50c68a1c96d24a079b80)

lib/sqlalchemy/dialects/mssql/pyodbc.py

index 3e9b140708ff806125c19b8ab45c0c67ede394ce..b4eb7c5259c200f14666bb3720dea1b9bf46775c 100644 (file)
@@ -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
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^