one option would be to add the expression to your model as a column_property
On Fri, Dec 3, 2010 at 9:06 AM, Jurie-Jan Botha <juriejanbo...@gmail.com>wrote: > I can't seem to find a way to add an expression to an ORM Query as a > column. I need to add it after the Query object is initialized. > > The expressions that I'm trying to add is a function like > 'func.ts_rank_cd'. > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To post to this group, send email to sqlalch...@googlegroups.com. > To unsubscribe from this group, send email to > sqlalchemy+unsubscr...@googlegroups.com<sqlalchemy%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/sqlalchemy?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.