]> 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:32 +0000 (17:57 -0500)
(cherry picked from commit 511964302467140a25fb50c68a1c96d24a079b80)

lib/sqlalchemy/dialects/mssql/pyodbc.py

index 954632eb2d19e6632c1f202fef5f38d0afec43f5..9ce6861c06a48a429a5cfeae5d2e1ca6ec01d9ce 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
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^