]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Use "parent object" instead of "primary object"
authorvpsx <19900057+vpsx@users.noreply.github.com>
Wed, 17 Apr 2019 23:48:40 +0000 (18:48 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 Apr 2019 02:50:53 +0000 (22:50 -0400)
(cherry picked from commit 6758a459597e5221607a81a693bd98352bb1c94f)

lib/sqlalchemy/orm/relationships.py

index be2903b78b4f00dc2e517ec18d6cdec714d051bc..356b673b6622cd6f5175d5f44670da0f83ea0b6d 100644 (file)
@@ -707,8 +707,8 @@ class RelationshipProperty(StrategizedProperty):
 
         :param primaryjoin:
           a SQL expression that will be used as the primary
-          join of this child object against the parent object, or in a
-          many-to-many relationship the join of the primary object to the
+          join of the child object against the parent object, or in a
+          many-to-many relationship the join of the parent object to the
           association table. By default, this value is computed based on the
           foreign key relationships of the parent and child tables (or
           association table).