how to give limt to records in list api in laravel code example
Example: limit 1 1 in laravel query
$products = $art->products->skip(10)->take(10)->get(); //get next 10 rows
$products = $art->products->skip(10)->take(10)->get(); //get next 10 rows