i dont think the order_by adds any overhead to a one-row result set.
also, most scalar queries (although not that one you have there) do
need an order_by since it typically is using LIMIT 1 to get just the
first result, and the order_by makes that opertation deterministic
(also in oracle, to get the "LIMIT" effect requires an order by).


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