order_by() on a dynamic relation works just fine for me could you be more specific what issue you are seeing ?
On Mar 9, 2008, at 1:13 PM, Thomas Wittek wrote: > > Hi! > > I'm replacing some relation()s by dynamic_loader()s and encountered > the "problem" that the order_by parameter doesn't work anymore. > Obviously dynamic_loader doesn't support it. > > Is this left out with a special purpose? I'd find it quite useful to > have a default ordering for the related children instead of > adding .order_by(Class.column) on each access. > > Maybe it's not easy to implement, but from a user perspective it might > be nice to be able to use all relation() options in a dynamic_loader() > (although I'd already be happy with order_by ;)). > > So it there a chance that dynamic_loader will be enhanced one day or > is this limitation intended? > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
