1
Good afternoon friends, I’m having problems with a query using DB in the Windows,
I put a clause Where and another orWhere and a whereBetween, but it is not going through the between, and when shooting the orWhere works, someone has already gone through it?
Code:
$result = DB::table('tb_monitor_laudo_info')
->where('usuariox_operador', 'like', $usuariox)
->orWhere('id', '=', $usuariox)
->whereBetween('data_laudo',[$datainicial, $datafinal])
->orderBy('operador')
->get();
It worked!! vlw man
– Michel Diniz