]> 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:24 +0000 (09:36 -0500)
commit16f08cbed5ff4f0f0b08dbd0dbd6e49aaee79163
tree05041b1350a2d49457c4f0209da7a517b5f59d18
parentec5c9ebe6e7b8822de0c7bd19aea11ea2a582e29
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
doc/build/orm/join_conditions.rst