Closed navotera closed 6 years ago
how can i accomplish where expression such as
where year(column) = '2018' or other where expression ?
never mind...
using where raw seems solve this : where_raw('(year(' . $table . '.date))', [$year]);
how can i accomplish where expression such as
where year(column) = '2018' or other where expression ?