Re: [SQLObject] SQL Server varchar(4000) instead of TEXT
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2007-10-09 18:54:06
|
On Tue, Oct 09, 2007 at 08:00:06PM +0200, Davide Alberani wrote: > 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? I didn't replace VARCHAR with TEXT. Instead I allowed you to replace it with whatever you want: class MyTable(): col = StringCol(sqlType="NTEXT") sqlType was available before, but wasn't used with MSSQL; I fixed the bug, so sqlType now works for all backends. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |