Question : how get data if has relation in laravel
Answered by : mohamad-shahkhajeh
Doctor::has('DoctorMessage')->with('DoctorMessage')->get()
Source : | Last Update : Sat, 04 Sep 21
Answered by : mohamad-shahkhajeh
Doctor::has('DoctorMessage')->with('DoctorMessage')->get()
Source : | Last Update : Sat, 04 Sep 21