Performing an ordered result was simple enough. In the
proxied_association.py example, only the following mapper() call was
changed:
mapper(Order, orders,
properties={'itemassociations':relation(OrderItem, cascade="all,
delete-orphan", lazy=True, order_by=items.c.description)})
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---