title: Laravel varbinary(ip) using with where not working
body: <p>I'm using varbinary(16) to store ips in the database like described here <a href="https://stackoverflow.com/a/24270808/5717102">https://stackoverflow.com/a/24270808/5717102</a> .</p>
  
  <p>To convert to human readable and to binary i use <code>inet_ntop</code> and <code>inet_pton</code>.
  This works well, but it won't work with the where query.</p>
  
  <pre><code>MyModel::where('ip', $ip)-&gt;get();
  </code></pre>
  
  <p>What am I missing, shouldn't it work? I already googled, but wasn't able to find any usefull information. </p>