Skip to content

Commit 02dc4b6

Browse files
committed
wip
1 parent cfa4896 commit 02dc4b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ If you just need to retrieve a single row from a database table, you may use the
9595

9696
return $user->email;
9797

98-
If you would like to retrieve a single row from the database table, but throw a `Illuminate\Database\RecordNotFoundException` is no matching row is found, you may use the `firstOrFail` method. If the `RecordNotFoundException` is not caught, a 404 HTTP response is automatically sent back to the client:
98+
If you would like to retrieve a single row from a database table, but throw an `Illuminate\Database\RecordNotFoundException` if no matching row is found, you may use the `firstOrFail` method. If the `RecordNotFoundException` is not caught, a 404 HTTP response is automatically sent back to the client:
9999

100100
$user = DB::table('users')->where('name', 'John')->firstOrFail();
101101

0 commit comments

Comments
 (0)