Re: [sqlalchemy] Is it possible to combine Query results for sorting the output?

2010-04-13 Thread Conor
Richard de Koning wrote: > I created a function where I can loop through a list of words and > search for these words in a database which looks like: > > for instance in session.query(table).filter(or_(\ > table.logtext.like(term), table.titlelog.like(term)))\ > .order_by(desc(

[sqlalchemy] Is it possible to combine Query results for sorting the output?

2010-04-13 Thread Richard de Koning
I created a function where I can loop through a list of words and search for these words in a database which looks like: for instance in session.query(table).filter(or_(\ table.logtext.like(term), table.titlelog.like(term)))\ .order_by(desc(table.unixtime)): I sort the outcome