--- title: 'You can use valueOrFail() to fetch a value from the database, or abort the request if the queried record does not exist' tweet_id: '1456649612966576129' thread_slug: weekly-thread-2021-44 author_username: pascalbaljet images: - 'https://pbs.twimg.com/media/FC7vZ2oX0AIV4fG.jpg' created_at: 2021-11-05T15:48:25+00:00 slug: you-can-use-valueorfail-to-fetch-a-value-from-the-database-or-abort-the-request-if-the-queried-record-does-not-exist --- In the next blog posts, I'll cover Database and Eloquent improvements and new features in #Laravel 8.x. Here's a great little feature that got added in v8.60 🔥 PR: https://github.com/laravel/framework/pull/38707 Yesterday's post about Collections: https://protone.media/en/blog/a-look-at-new-features-and-improvements-since-the-original-laravel-80-release-collections #PHP #webdev #opensource