mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
11 lines
No EOL
550 B
Markdown
11 lines
No EOL
550 B
Markdown
---
|
|
title: 'You can use the value() method in Eloquent to fetch a single column from the DB'
|
|
tweet_id: '1482036550967853057'
|
|
thread_slug: weekly-thread-2022-02
|
|
author_username: SteveTheBauman
|
|
images:
|
|
- 'https://pbs.twimg.com/media/FJEgq7SXwAE5rpl.jpg'
|
|
created_at: 2022-01-14T17:07:03+00:00
|
|
slug: 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! 💅🤩 |