I'd like to use func.now() in my select statement to get the current
datetime from the db.. but I noticed that functions with no arguments
are outputted without parens in the select sql..

e.g.
s=select(]func.now()],engine=db)
str(s)
'select now'

It should be 'select now()'

Is there a workaround for this or is a patch needed?

Thanks
Dennis


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to