diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-04-21 13:27:16 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-04-21 13:27:16 -0400 |
commit | fe2045fb1c767436ed1e32359fe005dabead504a (patch) | |
tree | 9a51e5096d1299c74db0a871b9daf9cc54a3326f /lib/sqlalchemy/dialects/postgresql/json.py | |
parent | 6aefaaa110fc239571c043fad1c8a6a4e1de4368 (diff) | |
download | sqlalchemy-fe2045fb1c767436ed1e32359fe005dabead504a.tar.gz |
fix result.columns() method
Fixed issue in :meth:`.Result.columns` method where calling upon
:meth:`.Result.columns` with a single index could in some cases,
particularly ORM result object cases, cause the :class:`.Result` to yield
scalar objects rather than :class:`.Row` objects, as though the
:meth:`.Result.scalars` method had been called. In SQLAlchemy 1.4, this
scenario emits a warning that the behavior will change in SQLAlchemy 2.0.
Fixes: #7953
Change-Id: I3c4ca3eecc2bfc85ad1c38000e5990d6dde80d22
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/json.py')
0 files changed, 0 insertions, 0 deletions