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)


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire