diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-10-31 12:54:23 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-11-01 15:06:25 -0400 |
commit | 1f7c699962558d26eb5ce8ccbe934ced97f7d598 (patch) | |
tree | 4c329f4c5c93a0bf4487607ba7a0b4e959d448ce /lib/sqlalchemy/engine/create.py | |
parent | 7a0a035601258b8ac32e84830b2a615b03aec98f (diff) | |
download | sqlalchemy-1f7c699962558d26eb5ce8ccbe934ced97f7d598.tar.gz |
remove case_sensitive create_engine parameter
Removed the previously deprecated ``case_sensitive`` parameter from
:func:`_sa.create_engine`, which would impact only the lookup of string
column names in Core-only result set rows; it had no effect on the behavior
of the ORM. The effective behavior of what ``case_sensitive`` refers
towards remains at its default value of ``True``, meaning that string names
looked up in ``row._mapping`` will match case-sensitively, just like any
other Python mapping.
Change-Id: I0dc4be3fac37d30202b1603db26fa10a110b618d
Diffstat (limited to 'lib/sqlalchemy/engine/create.py')
-rw-r--r-- | lib/sqlalchemy/engine/create.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/sqlalchemy/engine/create.py b/lib/sqlalchemy/engine/create.py index 5e56ecdd9..b9e111647 100644 --- a/lib/sqlalchemy/engine/create.py +++ b/lib/sqlalchemy/engine/create.py @@ -34,13 +34,6 @@ from ..sql import compiler 'expressions, or an "empty set" SELECT, at statement execution' "time.", ), - case_sensitive=( - "1.4", - "The :paramref:`_sa.create_engine.case_sensitive` parameter " - "is deprecated and will be removed in a future release. " - "Applications should work with result column names in a case " - "sensitive fashion.", - ), ) def create_engine(url, **kwargs): """Create a new :class:`_engine.Engine` instance. @@ -97,10 +90,6 @@ def create_engine(url, **kwargs): :ref:`connections_toplevel` - :param case_sensitive: if False, result column names - will match in a case-insensitive fashion, that is, - ``row['SomeColumn']``. - :param connect_args: a dictionary of options which will be passed directly to the DBAPI's ``connect()`` method as additional keyword arguments. See the example |