📜  laravel whereIn 示例 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:19.039000             🧑  作者: Mango

代码示例2
public function index()
{
    $data= User::whereIn('name', ['john','dam','smith'])->get();
   
    dd($data);                    
}