laravel 5.0 collection get method gives 999 records -
can me records. i'm facing 1 issue i'm not able records using clause
model::where('key', 'value')->get()
how records using get. did not solutions googling..
have tried doing diedump?
if try
dd(week::where('price', '0')->get());
i collection 17158 array items.
collection {#17158 ▼ #items: array:16882 [▼ 0 => week {#17159 …21} 1 => week {#17160 …21} 2 => week {#17161 …21} 3 => week {#17162 …21} 4 => week {#17163 …21} etc.
Comments
Post a Comment