Re: Re: DB_DataObject and nulls

From: Date: Thu, 29 Jul 2004 16:05:32 +0000
Subject: Re: Re: DB_DataObject and nulls
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13911@lists.php.net to get a copy of this message
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

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