Re: [sqlalchemy] Newbie mapper question

2010-04-07 Thread Conor
Damien Tougas wrote: > Hello, > > I am new at this, so I am sure that this is easy. I understand how the > mapper works, and I can get it working fine when mapping tables to > classes. What I need to do is map the following select statement to a > class: > > SELECT function_name(column_name) AS c1

[sqlalchemy] Newbie mapper question

2010-04-07 Thread Damien Tougas
Hello, I am new at this, so I am sure that this is easy. I understand how the mapper works, and I can get it working fine when mapping tables to classes. What I need to do is map the following select statement to a class: SELECT function_name(column_name) AS c1 FROM table_name The usage of the f