You can use value() to fetch a single value from the database, without having to instantiate an entire model
- ·
- Telegram
- ·
- Newsletter
#Laravel Tip: If you want a single value from a database table.
#Laravel Tip: If you want a single value from a database table.
We're writing a book, you can get it for free here. We're writing a book! Join the early access to get it for free.