Postgresql's doesn't seem to. On 12/12/06, Rick Morrison <[EMAIL PROTECTED]> wrote: > Wouldn't the query planner in most SQL engines optimize this out anyway? > > > On 12/12/06, Alexandre CONRAD <[EMAIL PROTECTED] > wrote: > > > > Hello, > > > > let's say a "user_mapper" has the attribute: order_by= users.c.name > > > > When SA fires a "SELECT * FROM users ...", is will naturally append the > > ordering syntax "ORDER BY user.name" for example. > > > > Would it be possible to ignore the order_by attribute when doing scalar > > select as this would take longer and there is no need to order_by with > > scalar results: u = query.get(15) > > > > I think this could improve performance in requests. I'm just thinking > > out loud... > > > > Regards, > > -- > > Alexandre CONRAD > > > > > > > > > > > > > > >
-- Jonathan Ellis http://spyced.blogspot.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
