I am building a query to give a row with multi variables in Laravel. how could I create a SQL query into Laravel in this condition?
select * from Fruit where apple = red and banana = raw and orange = 1
$result = Fruit::where('apple ', red , 'banana ', raw , 'orange ', 1);
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2NoGsnf
via IFTTT
Aucun commentaire:
Enregistrer un commentaire