between laravel code example
Example 1: laravel between
$users = DB::table('users')
->whereBetween('votes', [1, 100])
->get();
Example 2: laravel where between cluse
$query->whereBetween('age', [$ageFrom, $ageTo]);
Example 3: laravel where and where
Table::where('Column', Value)->where('NewColumn', Value)->get();