mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
539 B
539 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| Specify the columns you want to select when fetching all() models | 1484566713303584774 | weekly-thread-2022-03 | bhaidar |
|
2022-01-21T16:41:01+00:00 | 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