]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add missing disambiguation to non-primary mapper example rel_0_9
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 28 Dec 2018 14:33:07 +0000 (09:33 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 28 Dec 2018 14:36:45 +0000 (09:36 -0500)
commit04da2878d1945dcf3ac074c386c9690ed380e672
treeee93dcb4ead111f1dc9938184cc62a2f0db0ca1e
parent619793dc033a5f0097b6603f3854435baf177120
Add missing disambiguation to non-primary mapper example

The mapping to B over a join defines an alternate primary key
based on all the primary key columns in the join unless we
re-define it explicitly.   Similarly, people expect that
``.id`` looks the same.  make sure these line up with the
old mapping.

Change-Id: I1ab064c57019e79c34293f6588d1e033f7083974
(cherry picked from commit 16f08cbed5ff4f0f0b08dbd0dbd6e49aaee79163)
doc/build/orm/join_conditions.rst