]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
docs - missing 'attr' in AssociationProxy join see #2636
authorDiana Clarke <diana.joan.clarke@gmail.com>
Sun, 16 Dec 2012 13:01:08 +0000 (08:01 -0500)
committerDiana Clarke <diana.joan.clarke@gmail.com>
Sun, 16 Dec 2012 13:01:08 +0000 (08:01 -0500)
doc/build/orm/extensions/associationproxy.rst

index fac1aa429e51803e83225d606fc63a1117356d7f..03eafda8a64d569eaa3e97c6d6308270aac93393 100644 (file)
@@ -481,7 +481,7 @@ and ``.contains()`` is available for a proxy to a scalar collection::
 :class:`.AssociationProxy` can be used with :meth:`.Query.join` somewhat manually
 using the :attr:`~.AssociationProxy.attr` attribute in a star-args context::
 
-    q = session.query(User).join(*User.keywords)
+    q = session.query(User).join(*User.keywords.attr)
 
 .. versionadded:: 0.7.3
     :attr:`~.AssociationProxy.attr` attribute in a star-args context.