Category: Laravel

If you want to check whether a field is NOT NULL, it is possible to check that in Eloquent. Suppose you want to select all the results where sent_at column values are not null. In Laravel 4 and 5 we can write it as given below There is another method called WhereNull.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Community Partners