公告
财富商城
积分规则
提问
发文
2019-05-06 02:44发布
我命由我不由天
How to find row by column with null value?
It doesn't work:
$criteria->condition = '`seller_id` IS NULL';
$criteria->addCondition('seller_id IS NULL'); $data= MODEL::model()->find($criteria);
tried this? **seller_id** is the mapped column name in Yii, it may not be same as the actual column name in your database.
最多设置5个标签!
tried this? **seller_id** is the mapped column name in Yii, it may not be same as the actual column name in your database.