Support the ongoing development of Laravel.io →
gclove

gclove

Joined 24 Nov 2015

Statistics

Threads 6
Replies 2
Solutions 0
Articles 0
0 Likes
3 Replies
Solved
replied 10 years ago
0 Likes
replied 10 years ago

How do I know if there is a record id = 5 ?

gzai said: YourModel::findOrFail(5); If the condition is a EMail ? I wana use to Book query.

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.