// 传入数组作为查询条件 可以直接上传IN查询, Db::table('think_user')->where([ 'name' => 'thinkphp', 'status' => [1, 2] ])->select();
SELECT * FROM think_user WHERE `name`='thinkphp' AND status IN (1, 2)