On Wed, 2006-04-26 at 22:27, Jon Rosebaugh wrote:
> On 4/26/06, Michael Bayer <[EMAIL PROTECTED]> wrote:
> > why not use the DateTime type on your Column ?
> 
> I did:
> Column('timestamp', DateTime, nullable=3DFalse)
> 
> It happily accepted seconds-since-the-epoch for storing into the
> database, but couldn't read it out.

I believe it's in the SQLite documentation that the database
doesn't really concern itself with the data types that you
specify.  Basically it considers everything to be a string
object for storage purposes.  It's when you try to fetch the
data that conversion happens to your requested type.

HTH,
William.




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

Reply via email to