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


--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to