On Fri, Mar 31, 2006 at 08:57:36PM -0600, John Arbash Meinel wrote:
> I was wondering if there are any plans to support a 'BIGINT' column.

   There are no. No, we are not opposing, we just don't use them.

> (Basically it is just a 64-bit integer/long long).

   Then they must be mapped to Python long integers by DB API drivers, and
SQLObject should not worry a bit.

> I think this would work:
> 
> class SOBigIntCol(SOIntCol):
>     def _sqlType(self):
>         return 'BIGINT'
> 
> class BigIntCol(IntCol):
>     baseClass = SOBigIntCol

   I think so. Add some documentation and tests and I'll be happy to apply.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.


-------------------------------------------------------
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
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to