well also for a regular default that is a ClauseElement, you should
be able to do:
x = sql.select([default.arg], engine=engine).scalar()
On Feb 28, 2006, at 10:01 AM, Nicholas Wieland wrote:
Il giorno 28/feb/06, alle ore 15:47, Michael Bayer ha scritto:
SERIAL corresponds to a sequence <tablename>_<columnname>_seq in
postgres, just call nextval on that.
I know, I was just asking if there's a way to use the
column.default.arg object to obtain that value ...
--
Nicholas Wieland
[EMAIL PROTECTED]
___________________________________Yahoo! Mail: gratis 1GB per i
messaggi e allegati da 10MBhttp://mail.yahoo.it
-------------------------------------------------------
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
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users