We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
I have to join two tables with comma seperated values but how can i write it in Laravel 5.1. The raw query is as follows
SELECT * FROM table1 as t1 LEFT JOIN table2 as t2 ON find_in_set(t2.country, t1.fk_country_id);
Aucun commentaire:
Enregistrer un commentaire