Specify the columns you want to select when fetching all() models
- ·
- Telegram
- ·
- Newsletter
🌶️ #Laravel tip: You can select the columns to run when using the Model::all() method. No need for an additional select() method.
A tiny tip to always keep in mind 💡
#PHP #Developers