We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
mercredi 4 novembre 2015
Laravel is not smart enough to handle arrays
If you add whereIn('type',['b','s']) to a query it does not wrap the array items with '. it generate where type in (b,s) instead of where type in ('b','s'). What is the workaround?
Aucun commentaire:
Enregistrer un commentaire