Commits

diana  committed 37c3990

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

  • Participants
  • Parent commits 392bca4
  • Branches rel_0_7

Comments (0)

Files changed (1)

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