[sqlalchemy] Re: MySQL DATE_ADD function

2010-10-05 Thread Sven A. Schmidt
Hi Bryan, the only tricky bit in your SQL is the dangling 'DAY', because there's no operator to tie it to the rest. Otherwise you should be able to write (schema.AppDcRpe2 is just a Table object I'm using as an example): q =

[sqlalchemy] Re: MySQL DATE_ADD function

2010-10-05 Thread Bryan
On Oct 5, 4:45 pm, Bryan Vicknair bryanv...@gmail.com wrote: I'm fine with a MySQL-only solution. The text construct is always the fallback, but I'm wondering if there is a way that I can use the attributes of my class for the column name, instead of just a string. My column names