Level 74
Something like
function index($q = null)
{
return Record::where('field', 'like', '%' . $q, '%')->paginate(50)->get();
}
Should do the trick
1 like
Hi, can someone please help me, I need a proper way to handle big data like millions of records, I want to populate a frontend table which has filtering, sorting and pagination on it, I want all this features to handled by laravel. I am using vuejs as frontend. Please advise on how can I approach this in a proper and best way. Thanks
Please or to participate in this conversation.