Re: DB_DataObject and nulls
| From: | Michael Wallner | Date: | Wed, 28 Jul 2004 10:37:15 +0000 |
| Subject: | Re: DB_DataObject and nulls | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13885@lists.php.net to get a copy of this message | ||
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,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc