Support the ongoing development of Laravel.io →

builtbyjay

Joined 10 Feb 2014

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

whereHas() within a where() sub-query.

Howdy! When I try to use a whereHas within a grouped where class, I get an error. Any ideas? $activi...

Likes Replies
replied 8 years ago

whereHas() within a where() sub-query.

Hi Gabriel, 4.1. This works... $activity = Activity::where('patient_id', '=', $patient->id) -...

0 Likes

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.