On Wed, Oct 25, 2006 at 11:27:17AM -0200, michelts wrote:
> datetime.timedelta(0, 32400) <type 'datetime.timedelta'>
>
> It is returning datetime.timedelta instances because the last
> representable time is datetime.time(23, 59, 59, 999999). Postgresql
> has this limitation of 24 hours to the time coltype too, but mysql
> does not have this limitation, you could do something like this for my
> table "test":
>
> mysql> insert into test values (n, '54:00:00', null, null);
Aha, I see. In MySQL, TIME is both time of day and time difference.
Adding timedelta requires some work...
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
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
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss