]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix documentation link in query with_for_update
authorFederico Caselli <cfederico87@gmail.com>
Wed, 2 Dec 2020 21:09:59 +0000 (22:09 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Wed, 2 Dec 2020 21:10:45 +0000 (22:10 +0100)
Change-Id: I4e9a97905d42686c911da81a25f023519328a8a3
(cherry picked from commit 80050b8a19a324e84fbf6b3f81e82f377305b044)

lib/sqlalchemy/orm/query.py

index e7115dd317f3578057d8f2f85e144ff6badfb32b..7a9f99c86cad25f597bea61e249346d13bdf97a5 100644 (file)
@@ -1782,7 +1782,7 @@ class Query(object):
         ``FOR UPDATE`` clause.
 
         The behavior of this method is identical to that of
-        :meth:`_expression.SelectBase.with_for_update`.
+        :meth:`_expression.GenerativeSelect.with_for_update`.
         When called with no arguments,
         the resulting ``SELECT`` statement will have a ``FOR UPDATE`` clause
         appended.  When additional arguments are specified, backend-specific