Quantcast
Channel: Laravel Eloquent "WHERE NOT IN" - Stack Overflow
Viewing all articles
Browse latest Browse all 14

Answer by Zahid Hasan for Laravel Eloquent "WHERE NOT IN"

$
0
0

You can use WhereNotIn in the following way:

$category=DB::table('category')          ->whereNotIn('category_id',[14 ,15])          ->get();`enter code here`

Viewing all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>