I can't get results for the following Eloquent query:
return
Cost::where('zipcode_start', '>=', 8000)
->where('zipcode_end', '<=', 8000)
->pluck('price);
In that costs table I have some prices that depends on the range that a Zipcode that's given is in.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2OYiylP
via IFTTT
Aucun commentaire:
Enregistrer un commentaire