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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
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})