Re: Re: DB_DataObject and nulls
| From: | Alan Knowles | 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:-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.comHi Nikhil G. Daddikar, you wrote: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 RichinsWhy 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,