check if column has value in laravel eloquent

Solutions on MaxInterview for check if column has value in laravel eloquent by the best coders in the world

showing results for - "check if column has value in laravel eloquent"
Magdalena
23 Mar 2016
1->where(function ($query) {
2  $query->whereNull('exam_ends_at')
3    ->orWhere('exam_ends_at', '>', Carbon::now());
4})