Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel where in query builder

public function index()
{
    $users = User::select("*")
                    ->whereIn('id', [4, 5, 6])
                    ->get();
  
    dd($users);                    
}
Source by www.itsolutionstuff.com #
 
PREVIOUS NEXT
Tagged: #laravel #query #builder
ADD COMMENT
Topic
Name
4+2 =