joaosn opened this issue 3 years ago · 0 comments
hi, I tried something like this SELECT * FROM produtos WHERE qt < minqt AND id_user = 2
produtos
$Produto->select() ->where('id_user',$id_user) ->where('qt','<','minqt') ->get();
Wouldn't that be right?