DB_DataObject and nulls

From: Date: Wed, 28 Jul 2004 05:32:02 +0000
Subject: DB_DataObject and nulls
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13879@lists.php.net to get a copy of this message
I notice that to set a field to null, I have to do something like $account->setLogoImageId(DB_DataObject_Cast::sql('NULL')); Why can't I just set it to null? If I do something like $account->setLogoId(null) and do a update, It simply retains the old value of the logoid. Thanks.

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