[Sqlalchemy-commits] commit/sqlalchemy: 2 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2014-06-12 15:48:44
|
2 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/33cb84945f52/ Changeset: 33cb84945f52 Branch: None User: zzzeek Date: 2014-06-12 17:47:50 Summary: - 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 Affected #: 4 files https://bitbucket.org/zzzeek/sqlalchemy/commits/023d818f21ad/ Changeset: 023d818f21ad Branch: rel_0_9 User: zzzeek Date: 2014-06-12 17:48:22 Summary: - 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 Affected #: 4 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |