]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add missing disambiguation to non-primary mapper example
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:41 +0000 (09:36 -0500)
commite004da10d86d10d231b44d565621d8d5bcb3b81f
tree7f6e87fce6331d0d251ef2e12dc19200d54b6017
parentafed8c2b70f78684b8eb19eefbd3939b5699d4e6
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