summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-02-06 20:08:50 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2020-02-06 20:08:50 -0500
commit9bd15fd9473fa5cf9e9d627afc0482a01a5a3ed3 (patch)
tree123db45967103820250c899a6e308846ca7583c8
parentee1d914888113ceb9928ece6e0a715c813bdfcfa (diff)
parent698a279c918b2d037fc49700c51126d624db777a (diff)
downloadsqlalchemy-9bd15fd9473fa5cf9e9d627afc0482a01a5a3ed3.tar.gz
Merge remote-tracking branch 'origin/pr/5105'
Change-Id: I44b3a5473082f16ba7b74ee3a7d97ffb28c12392
-rw-r--r--doc/build/orm/basic_relationships.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/orm/basic_relationships.rst b/doc/build/orm/basic_relationships.rst
index cf37440cb..ace6f8d7e 100644
--- a/doc/build/orm/basic_relationships.rst
+++ b/doc/build/orm/basic_relationships.rst
@@ -412,7 +412,7 @@ associated object, and a second to a target attribute.
p1.children.append(c1)
# redundant, will cause a duplicate INSERT on Association
- p1.parent_associations.append(Association(child=c1))
+ p1.child_associations.append(Association(child=c1))
It's fine to use a mapping like the above if you know what
you're doing, though it may be a good idea to apply the ``viewonly=True`` parameter