Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel eloquent get all where in

// Get All Where in condition 
$array = [1,2,3,4,5];
ModelClassName::whereIn('columnName',$array)->get();
 
PREVIOUS NEXT
Tagged: #laravel #eloquent
ADD COMMENT
Topic
Name
3+9 =