diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-06-12 11:47:50 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-06-12 11:47:50 -0400 |
commit | 33cb84945f5277a3cf090b73b218abc583d292fc (patch) | |
tree | 07b9097918447cb2fa26a32e1f998c92e53c2498 /lib/sqlalchemy/dialects/mssql/base.py | |
parent | bd9c325852bf80ce5e8392b5a5a556fa15c09a36 (diff) | |
download | sqlalchemy-33cb84945f5277a3cf090b73b218abc583d292fc.tar.gz |
- Modified the behavior of :func:`.orm.load_only` such that primary key
columns are always added to the list of columns to be "undeferred";
otherwise, the ORM can't load the row's identity. Apparently,
one can defer the mapped primary keys and the ORM will fail, that
hasn't been changed. But as load_only is essentially saying
"defer all but X", it's more critical that PK cols not be part of this
deferral. fixes #3080
Diffstat (limited to 'lib/sqlalchemy/dialects/mssql/base.py')
0 files changed, 0 insertions, 0 deletions