1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00
laravel-tips/content/tips/you-can-use-the-value-method-in-eloquent-to-fetch-a-single-column-from-the-db.md
2022-01-14 19:06:59 +01:00

550 B

title tweet_id thread_slug author_username images created_at slug
You can use the value() method in Eloquent to fetch a single column from the DB 1482036550967853057 weekly-thread-2022-02 SteveTheBauman
https://pbs.twimg.com/media/FJEgq7SXwAE5rpl.jpg
2022-01-14T17:07:03+00:00 you-can-use-the-value-method-in-eloquent-to-fetch-a-single-column-from-the-db

Just learned about the Eloquent "value()" method from @amaelftah 💪. Eloquent make things so easy. Seems like there's shortcuts hiding everywhere, I love it! 💅🤩