laravel offset first record from database code example
Example 1: limit 1 1 in laravel query
$products = $art->products->skip(10)->take(10)->get(); //get next 10 rows
Example 2: laravel find query
$model = App\Models\Flight::where('legs', '>', 100)
->firstOr(['id', 'legs'], function () {
// ...
});