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())
)
On Mar 9, 2006, at 1:17 PM, Florian Boesch wrote:
Hi,
On my tables you find creation_date, creation_user, modification_date,
modification_user columns. It is easy for me to fill the
creation_date/creation_user columns with default values, but the
modification_date/modification_user would have to invoke some
default handler
on update and on update only (likewise the creation_date/
creation_user would
have to be invoked for insert and for insert only).
Any idea?
Thanks,
Florian
-------------------------------------------------------
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
-------------------------------------------------------
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