mercredi 27 février 2019

How to check if table is already joined in Laravel Query Builder

I created a query. I want to join my table with students table:

$query->leftJoin('students', 'learners.student_id', '=', 'students.id');

But I don't know my table joined before or not. How should I do that?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2NAfzgo
via IFTTT

Aucun commentaire:

Enregistrer un commentaire