title: Eloquent: Query the length of field in Laravel
body: <p>I want to do something like that in Laravel (valid sqlite query):</p>
  
  <pre><code>select * from 'tbUsers' where  length(name)&gt;50;
  </code></pre>
  
  <p>I tried</p>
  
  <pre><code>User::with('Permissons')-&gt;where('LENGTH(name)','&gt;','50')-&gt;get();
  </code></pre>
  
  <p>But it seems not to work........</p>
  
  <p><strong>note</strong>: other queries works without problem:</p>
  
  <pre><code>User::with('Permissons')-&gt;where('active','=','1')-&gt;get();
  </code></pre>