阅读背景:

如何在使用Zend_Db时将值设置为NULL

来源:互联网 

When performing UPDATE and INSERT queries using Zend_Db, I frequently need to set values equal to NULL (not ''). However, the default behavior of Zend_Db::insert() and Zend_Db::update() seems to be that values that are empty are translated into empty strings ('') and put into the database as such. When performing UPDATE and INSERT queries using




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: