Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel where multiple values

$userIds = [1, 2, 3];
$friend = DB::table('users')->whereIn('id', $userIds)->get();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #multiple #values
ADD COMMENT
Topic
Name
3+5 =