diff options
-rw-r--r-- | doc/build/orm/tutorial.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/orm/tutorial.rst b/doc/build/orm/tutorial.rst index f742151b0..9569e4b1f 100644 --- a/doc/build/orm/tutorial.rst +++ b/doc/build/orm/tutorial.rst @@ -1386,7 +1386,7 @@ is an important method at the center of usage for any SQL-fluent application. ON clause is a plain SQL expression. To control the first entity in the list of JOINs, use the :meth:`.Query.select_from` method:: - query = Session.query(User, Address).select_from(Address).join(User) + query = session.query(User, Address).select_from(Address).join(User) .. _ormtutorial_aliases: |