skip to Main Content

Laravel very slow eloquent query – Phpmyadmin

I need to get catalogs from database using Laravel query, so I write simply: $catalogs = Catalog::where('shop_id', $shop->id)->latest()->get(['id','title', 'created_at', 'shop_id', 'cover_bg', 'frontpage', 'pdf', 'clicks', 'finished']); In a catalog table I have more than 100 columns - 2 of them are…

VIEW QUESTION
Back To Top
Search