Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 2 years ago.
0

Without query code, can't able to help...

0

I can't get it to produce the right query

If I have 1 dentist in the dentists table 10 jobs which link to this dentist in the dentist_ jobs table And 1 month in the dentist month

When I query dentist->dentist jobs->dentistmonths It returns 10 months I only want one month returned

0

Sign in to participate in this thread!

Eventy

Your banner here too?

monder007 monder007 Joined 15 Jan 2017

Moderators

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.