Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel.com whereIn

DB::table('user')->whereIn('id', [100,200])->get();
$users = User::whereIn('id', array(1, 2, 3))->get();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #whereIn
ADD COMMENT
Topic
Name
2+2 =