Hey guys!
// Passing a resultset as data
$paginator = new PaginatorModel(
[
'data' => Products::find(),
'limit' => 10,
'page' => $currentPage,
]
);
What's the point in this option, if the records are 1 million? They will all be remembered. Or not? Tell me how to do data pagination in which large volumes.