lumen where条件式进行 in 数组查询的写法

Model::where([  ['in'=>['xxx_id'=>$xxxId]  ])   

 lumen where条件式进行 in 数组查询的写法


这个是它的源码, 这是数组条件解析器,因为在多条件查询的时候写一堆whereIn 很不美观,就需要where 的写法,我google 没有google到, 顺便看了一下源码