📜  laravel 模型其中 - PHP 代码示例

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

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