DB_DataObject: Defaults? ENUM sets?
| From: | Mike Zornek | Date: | Wed, 05 May 2004 16:29:53 +0000 |
| Subject: | DB_DataObject: Defaults? ENUM sets? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-12317@lists.php.net to get a copy of this message | ||
I was wondering if DB_DataObject used the default values of the database in
anyway. For example if I created a new "blank" object based on a table, and
in that the table definition the default value for column "Gender" was "M"
would my new object have that value?
Also, if a column is of type enum, is there any way to get an array of the
possible allowed values?
~ Mike
-----
Mike Zornek
Web Designer, Media Developer, Programmer and Geek
Personal site: <http://MikeZornek.com>
New Project: <http://WebDevWiki.com>