$query->where('col1', '>', '2');
$query->where('col2', '>', '2');
Or
$query->where(function($where)
{
$where->where('col1', '>', '2');
$where->where('col2', '>', '2');
});
I think you will have to use raw for this
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community