Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel model where in

$users = User::whereIn('id', array(1, 2, 3))->get();

$users = DB::table('users')->whereIn('id', array(1, 2, 3))->get();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #model
ADD COMMENT
Topic
Name
9+7 =