I have a table with two fields value of integer (up, down). I need to select all rows, where up is more then down. Trying this:
EloqModel::->where('up', '>', 'down')->get();
returns all rows
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2apYfK9
via IFTTT
Aucun commentaire:
Enregistrer un commentaire