Commits

diana committed 37c3990

docs - missing 'attr' in AssociationProxy join see #2636

Comments (0)

Files changed (1)

doc/build/orm/extensions/associationproxy.rst

 :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.