I'm trying to get SQLalchemy to set this as the insert value:
Column( "timestamp_expires", DateTime, nullable=False ,
default="NOW() + INTERVAL '12 hours'") ,
the db looks like this:
Column | Type |
Modifiers
---------------------+-----------------------------
+----------------------------------------
timestamp_expires | timestamp without time zone | default (now() +
'12:00:00'::interval)
i'm not getting some sort of quoting right. can someone point me in
the right direction?
| - - - - - - - - - - - - - - - - - - - -
| RoadSound.com / Indie-Rock.net
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - -
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users