Answers for "laravel where not in array"

PHP
7

laravel not in query

DB::table(..)->select(..)->whereNotIn('book_price', [100,200])->get();
Posted by: Guest on September-26-2020
0

where is in array laravel

$items = DB::table('items')->whereIn('id', [1, 2, 3])->get();
Posted by: Guest on January-23-2021

Browse Popular Code Answers by Language