On May 3, 2007, at 5:29 PM, Kirk Strauser wrote: > > The killer part is the "(substring(rdy2bill.xmlvars, %(substring)s) > AS groupcode = " in the WHERE clause. PostgreSQL apparently > doesn't want that predicate to be named. Can that be disabled? > --
not really (well yes, you can take the label off, but then you dont get it in your columns clause, so that will break). mapping to the select statement that includes the column is the more general solution here (also allows the function to be called once instead of twice). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---