Re: [SQLObject] SQL Server varchar(4000) instead of TEXT
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Davide A. <dav...@gm...> - 2007-10-09 18:00:14
|
2007/10/9, Oleg Broytmann <ph...@ph...>: > > On Thu, Oct 04, 2007 at 07:41:13PM +0400, Oleg Broytmann wrote: > > There is custom sqlType that's supposed to be used like this: > > > > class MyTable(): > > col = StringCol(sqlType="NTEXT") > > Fixed for StringCol and UnicodeCol with MSSQL in the revisions > 3024-3028 > (branches 0.7, 0.8, 0.9, the trunk and docs.) In the trunk I still see "type = 'varchar(4000)'" at line #481 of col.py, in the _mssqlType() method of the SOStringLikeCol class. Or your "fixed" was not referred to the VARCHAR(4000) instead of TEXT problem? Thanks, -- Davide Alberani <dav...@gm...> [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ |