Re: [SQLObject] using sql functions in select method

2006-06-12 Thread Oleg Broytmann
On Mon, Jun 12, 2006 at 04:18:38PM +0200, Ivan Horvath wrote: > what is the correct way to use sql functions in .select() method? > for example: timediff(end_time, start_time) (mysql function) from sqlobject.sqlbuilder import func ... rows = MyTable.select(func.timediff(MyTable.q.column1, "

[SQLObject] using sql functions in select method

2006-06-12 Thread Ivan Horvath
Dear sqlobject-discuss, what is the correct way to use sql functions in .select() method? for example: timediff(end_time, start_time) (mysql function) -- Best regards, Ivan Horvath Chief Programmer Anyone who has never made a mistake has never tried anything new. /Albert Einstein/ __