title: How to get records where column is not empty or null in laravel?
body: <p>This is my table:
  <a href="https://i.stack.imgur.com/k1wLF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k1wLF.png" alt="enter image description here"></a></p>
  
  <p>This is my code I tried:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>$socials = SocialIcon::whereNotNull('link')-&gt;get()-&gt;all();
  $socials = SocialIcon::whereNotNull('link')-&gt;get();</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to get all records where column link is not empty.</p>