leroy-merlin-br/mongolid

How use skip() as paginate?

NandoSantana opened this issue · 2 comments

Hello i need do paginate of data, but i don't know how use,
have a fillable fields feature on model to ?

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.

Nice, thnak you.