How use skip() as paginate?
NandoSantana opened this issue · 2 comments
NandoSantana commented
Hello i need do paginate of data, but i don't know how use,
have a fillable fields feature on model to ?
diegofelix commented
Hello Nando, how are you?
We don't have a paginate()
like Eloquent, but you can do for example: Product::all()->skip(10)->limit(10)
This way you can paginate the way you want.
About the fillable
. Yes, we have fillable
and guarded
fields.
NandoSantana commented
Nice, thnak you.