[sqlalchemy] changing the column order of a select

2013-07-24 Thread Jon Nelson
Let's say I've built up a select statement but only after it's built do I know the order of the columns that I'd ultimately prefer. What's the best way to change the column order of a select? -- Jon Software Blacksmith -- You received this message because you are subscribed to the Google

Re: [sqlalchemy] changing the column order of a select

2013-07-24 Thread Michael Bayer
you can do that using this: http://docs.sqlalchemy.org/en/rel_0_8/core/expression_api.html?highlight=select#sqlalchemy.sql.expression.Select.with_only_columns but you'd need to restate all the columns. On Jul 24, 2013, at 10:59 AM, Jon Nelson jnel...@jamponi.net wrote: Let's say I've built