Re: FB booleanFields

From: Date: Sun, 09 Jan 2005 00:04:55 +0000
Subject: Re: FB booleanFields
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16839@lists.php.net to get a copy of this message
On Sun, 09 Jan 2005 00:31:20 +0100, Rodrigo Alvarez <papipo@gmail.com> wrote: > Hi PEARs, > > Which type is recommended in MySQL to use new booleanFields feature? > TINYINT(1)? Or does it use some kind of Y/N enum? > Use the TINYINT(1). An enum wouldn't work. You can also set the type in the db.ini to be DB_DATAOBJECT_BOOL, but it will be overwritten the next time you run createTables.php. Perhaps someone should alter the generator to make TINYINT(1) be set as a bool type. ;-) > Thanks. > > PD: I've seen that you added my requested feature: auto-selectAddEmpty > to enum fields!! :D Thank you! (again) > PD? Yeah, it was added to CVS a while ago. Make sure you update to 0.11.1, 0.11.0 was missing a file. -- Justin Patrin

« previous php.pear.general (#16839) next »