Re: Re: DB_DataObject and nulls

From: Date: Sat, 31 Jul 2004 09:24:21 +0000
Subject: Re: Re: DB_DataObject and nulls
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13921@lists.php.net to get a copy of this message
http://pear.php.net/manual/en/package.database.db-dataobject.db-dataobject.settersgetters.php actually its the same as doing $DAO->logoid = 'null'; Regards Alan Trevan Devaun Richins wrote:
Michael Wallner wrote:
Hi Nikhil G. Daddikar, you wrote:
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.
IIRC you have to do $DAO->setProperty('NULL'); Regards,
I read this post and am wondering where this setProperty is found. I don't see the function in either DB or DataObject. I checked both online in the docs and in the source code that I have. Trevan Richins
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

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