关于setInc和setField如何一起使用

浏览:1513 发布日期:2015/07/02 分类:求助交流 关键字: setInc setField setInc和setField一起使用

$t_exam_memory->where("examRoomId='{$p['examRoomId']}' and status=2")->setField('status=1');
$t_exam_memory->where("examRoomId='{$p['examRoomId']}' and status=2")->setInc('end_time',$time);
求教这2句话如何合并为一句。可以吗?
最佳答案
评论( 相关
后面还有条评论,点击查看>>