Mike Bayer  committed 89d2368

a comment indicating why we can't raise an error for relation(Foo, uselist=False, order_by=something)

  • Participants
  • Parent commits 4166208

Comments (0)

Files changed (1)

File test/orm/

                  keyword=relation(mapper(Keyword, keywords, non_primary=True),
+                              # note here is a valid place where order_by can be used
+                                  )))                           # on a scalar relation(); to determine eager ordering of
+                                                                # the parent object within its collection.
         mapper(Item, items, properties=dict(
             keywords=relation(IKAssociation, lazy=False)))