Re: [SQLObject] BoolCol and the backend datatypes
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2007-10-22 11:29:10
|
On Fri, Oct 19, 2007 at 09:39:05AM +0200, Markus Gritsch wrote: > *) MySQL knows BOOL (and since version 4.1 also BOOLEAN), which is a > synonym for TINYINT(1). > (http://dev.mysql.com/doc/refman/4.1/en/numeric-type-overview.html) Fixed in the 0.7, 0.8, 0.9 branches and in the trunk in the revisions 3107-3111. > *) TINYINT is not part of ANSI SQL and should IMO therefore not be > used in the SQLite backend. SQLAlchemy uses BOOLEAN. Changed in the trunk along with fromDatabase in the revs 3112-3113. They are released as versions 0.7.9b3, 0.8.6b3 and 0.9.2b3. Please test and report. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |