151102SQL语句

$condition = array($pk=>array('in',explode(',',$id)));//???

$this->model->where($condition)->delete()


//DELETE FROM `user` WHERE `id` IN ('116','115','113')

 

怎样理解??

posted @ 2015-11-02 15:26  KD-VS-WB  阅读(153)  评论(0编辑  收藏  举报