mercredi 26 octobre 2016

Laravel5 Query Builder Multiple condition in INNER JOIN

Is there a way to accomplish multiple conditions in JOIN statement in Laravel Query builder?

SELECT * FROM table1 
INNER JOIN table2 ON (table1.key1 = table2.key1 AND table1.key2 = table2.key2)


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

Aucun commentaire:

Enregistrer un commentaire