4
I need to make a query to Mysql with two conditions. I tried to do so:
$query=DB::table('veteranos')->where('ra', '2300')->where('flag', 0)->pluck('ra');
In this way, the second condition is not working, that is, the query takes different values from 0 to flag
.
What would be the correct way to do this consultation?