N
N
naneri2015-03-02 20:15:26
Laravel
naneri, 2015-03-02 20:15:26

How to use Laravel Eloquent to find records that are not equal to a certain value so that the result includes records with null value?

I make a request to the database in which I exclude some records with a certain field value. But the request does not include records in which this field is Null, but I need it to return. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cha-cha, 2015-03-03
@naneri

whereNull()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question