Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel where json array column

$listOfUser = [1, 3, 5, 6, 8, 9];

$users = DB::table('users')
                    ->whereIn('user_id', $listOfUser)
                    ->get();

Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #laravel #json #array #column
ADD COMMENT
Topic
Name
8+4 =