no, func.do_update_func() is a hypothetical function that exists in your database.

description of the "func" syntax (just updated the docs on the site to most recent):

http://www.sqlalchemy.org/docs/sqlconstruction.myt#sql_select_functions


On Mar 10, 2006, at 3:06 PM, Uwe Grauer wrote:

Michael Bayer wrote:

recent features that are still undocumented:

t = Table('mytable', engine,
    Column('mycol', Date, onupdate=func.do_update_func(),
default=func.do_default_func())
    Column('mycol2', Date, onupdate=my_python_func(),
default=my_other_python_func())
)




Now this is nice!
What's func.do_update_func()?
Does it return a function object?
Or did you mean func.do_update_func without the parantheses?

Uwe



-------------------------------------------------------
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