Boolean datatype in DB_DataObject & DB_DataObject_FormBuilder

From: Date: Wed, 10 Dec 2003 02:13:09 +0000
Subject: Boolean datatype in DB_DataObject & DB_DataObject_FormBuilder
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24319@lists.php.net to get a copy of this message
I need to use a boolean field with DataObject/FormBuilder (FormBuilder should generate a checkbox but DataObject has to handle boolean types first). I wonder if someone already wrote the code for this. If not, I'm glad to do it and post my solution to the list. I use mysql and I know that: BIT BOOL BOOLEAN These are synonyms for TINYINT(1). (according to the docs). What about other database engines? Anyways, is DataObject compatible with all the engines handled by the DB package?

« previous php.pear.dev (#24319) next »