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, "value2"))
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss