On Mar 31, 2009, at 11:13 AM, Marcin Krol wrote:
> > So there's a humble request/proposal from me for you: would it be > possible for SQLA to always quote column names in ORDER BY clauses for > PG backend, even when it's a string? > > In the meantime I will probably just rename the columns to > lowercase... we quote column names that are sent as mixed case, since we assume the same case sensitivity rules as PG. but if you're sending a string to ORDER BY, we have no idea what that is. It could be "call_some_function(virtual.Virtualization, 12)" or something like that, and we aren't parsing that. You should be sending SQL expressions and not strings to order_by() if you'd like SQLA to know something about it. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
