title: Raw statement in Laravel's Eloquent whereIn method
body: <p>I would simply like to run such query:</p>
  <pre><code>select * from `users` where SUBSTRING_INDEX(`email`, '@' ,-1) not in ('gmail.com, outlook.com');
  </code></pre>
  <p>Two ways crossed my mind which non of them work:</p>
  <h1>1</h1>
  <pre><code>$providers = array('gmail.com', 'outlook.com');
  
  $providers = &quot;'&quot; . implode(&quot;', '&quot;, $providers) . &quot;'&quot;;
  
  User::whereRaw(&quot;SUBSTRING_INDEX(`email`, '@' ,-1) not in (?)&quot;, $providers);
  </code></pre>
  <p>the above would not work because PDO will escape the &quot;'&quot; characters.</p>
  <h1>2</h1>
  <pre><code>User::whereIn(DB::raw(&quot;SUBSTRING_INDEX(`email`, '@' ,-1)&quot;, $providers);
  </code></pre>
  <p>this one simply does not work. any idea?</p>