operador in laravel 1

operador in laravel

DB::table('NameTable')
->select('*')
->whereIn()
->get();

Here is what the above code is Doing:
1. We’re selecting all the columns from the NameTable table.
2. We’re using the whereIn() method to filter the results.
3. We’re using the get() method to return the results.

Similar Posts