# Solved - Laravel where not equal null Value has issue

Hello Friends,

This article will give you example of where null and where not null eloquent query example laravel. how do you check if not null with eloquent in laravel. I explained simply about laravel not equal to null code. This tutorial will give you simple example of laravel eloquent or where is not null.

In this post, You'll learn where value is not equal to. i will show you use of laravel where clause not working for null values

Here i will give you many example for laravel where not equal to null code value.

So let's see bellow solution:

Solution:
```Product::select("*")
->where(function (\$query) {
\$query->where('status', '!=', 1)
->orWhereNull('status')
})
->get();
```
{"ft_lang_label":"__label__en","ft_lang_prob":0.6909183,"math_prob":0.8815252,"size":779,"snap":"2023-14-2023-23","text_gpt3_token_len":189,"char_repetition_ratio":0.16645162,"word_repetition_ratio":0.0,"special_character_ratio":0.2503209,"punctuation_ratio":0.13461539,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97933865,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-05-28T05:48:31Z\",\"WARC-Record-ID\":\"<urn:uuid:3faec4d7-f058-4a36-808c-807b5047b3b6>\",\"Content-Length\":\"33619\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f165e9c2-97b8-44c1-a146-70720c24b5e9>\",\"WARC-Concurrent-To\":\"<urn:uuid:90b8500c-4f88-4cc0-88fa-0fa1bff98e11>\",\"WARC-IP-Address\":\"161.35.119.95\",\"WARC-Target-URI\":\"https://www.mywebtuts.com/blog/solved-laravel-where-not-equal-null-value-has-issue\",\"WARC-Payload-Digest\":\"sha1:WTXJRYJP5VTONB2WCJHT7EISGWRWY3VP\",\"WARC-Block-Digest\":\"sha1:SLLF6CXOYBNEVZMFG6HGGBHOQDEJOXKU\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224643585.23_warc_CC-MAIN-20230528051321-20230528081321-00455.warc.gz\"}"}