I need to query MySQL with two conditions. I tried to do this:
$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 values other than 0 for
What would be the correct way to do this query?