Re: DataObject tweak ok with DB and MDB2

From: Date: Thu, 07 Apr 2005 08:57:47 +0000
Subject: Re: DataObject tweak ok with DB and MDB2
References: 1 2 3 4 5 6 7 8 9  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18613@lists.php.net to get a copy of this message
On 07/04/2005, at 6:40 PM, Lukas Smith wrote:
DB_PORTABILITY_NULL_TO_EMPTY = MDB2_PORTABILITY_EMPTY_TO_NULL = 32 meaning that if you set the given portability mode (or all) DB and MDB2 will behave differently with empty/null values. also note that MDB2 converts EMPTY strings on insert as well. regards, Lukas
Right it sets them as NULL ? It might be a nice option to set defaults for the do fields, what if a field type is not null :P

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