Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有此代码,我需要将其设置为NULL. 正确的方法是什么?
NULL
$criteria->condition='tblvisit_batch_id=NULL';
您应该使用正确的 SQL 语句:
$criteria->condition='tblvisit_batch_id IS NULL';