As the title suggest I have a problem using WEEK() sql method
Here's the error message
ErrorException [ Error ]: Call to undefined function WEEK()
and here's my code which fire the error
DB::select()
->from($table)
->where_open()
->where(DB::expr(WEEK('created_at')), DB::expr(WEEK(CURRENT_DATE)))
->and_where('language', $lang)
->where_close()
->execute()->as_array();