Support the ongoing development of Laravel.io →

PV

Joined 21 Mar 2019

Statistics

Threads 1
Replies 1
Solutions 1
Articles 0

Eloquent result different from MySQL result

Hi all. I have 3 tables in Laravel: doctors, clinics and clinic_doctors. Doctors have relation: publ...

0 Likes
1 Replies
Solved
replied 5 years ago

Eloquent result different from MySQL result

Found solution: have changed "with" to "whereHas", and now it works! Doctor::whe...

0 Likes
Solved

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.

© 2024 Laravel.io - All rights reserved.