Hi, I am using Eloquent with Codeigniter, and I have a model that has multiple one to many and many...
Hi, having this relation public function programs() { return $this->belongsToMany...
Hi, Has anyone managed to count data from 2 tables down a relationship Normally you would do it with...
I am interested in this as well. Any updates? Thank you
Probably in my case is best to use CI to run the query $reports = $this->db->query($sql)->r...
Something like this seems to work, not final though public function otherDistrictCountRelation() {...
The Laravel portal for problem solving, knowledge sharing and community building.