1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 21:34:03 +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

12 lines
No EOL
503 B
Markdown

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