Specify the columns you want to select when fetching all() models

Specify the columns you want to select when fetching all() models

🌶️ #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

We're writing a book, you can get it for free here.