Re: Update or insert NULL values ( DB_DataObject )

From: Date: Sat, 20 Dec 2003 01:22:41 +0000
Subject: Re: Update or insert NULL values ( DB_DataObject )
References: 1  Groups: php.pear.general php.pear.general 
Request: Send a blank email to pear-general+get-9753@lists.php.net to get a copy of this message
use $do->field = 'null'; or // for any raw sql. $do->field = DB_DataObject_Cast::sql('null'); null as a native value in PHP doesnt really exist, - it's very close unset(), and very difficult to test for reliably.. Regards Alan Marcos Neves wrote:
I'm not able to insert or update NULL values to database using DB_DataObject. any idea? or a bug?


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