Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel whereIn example

public function index()
{
    $data= User::whereIn('name', ['john','dam','smith'])->get();
   
    dd($data);                    
}
Source by www.tutsmake.com #
 
PREVIOUS NEXT
Tagged: #laravel #whereIn
ADD COMMENT
Topic
Name
8+6 =