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-value-to-fetch-a-single-value-from-the-database-without-having-to-instantiate-an-entire-model.md
2021-11-05 17:12:37 +01:00

503 B

title tweet_id thread_slug author_username images created_at slug
You can use value() to fetch a single value from the database, without having to instantiate an entire model 1456649611796369411 weekly-thread-2021-44 AzizullahSamim
https://pbs.twimg.com/media/FDL2wc2XMAYoIXr.jpg
2021-11-05T15:48:25+00:00 you-can-use-value-to-fetch-a-single-value-from-the-database-without-having-to-instantiate-an-entire-model

#Laravel Tip: If you want a single value from a database table.