title: Eloquent WHERE LIKE clause with more than two columns
body: <p>I've been trying to do a query in Laravel that in raw SQL will be like this</p>
  
  <pre><code>"SELECT * FROM students WHERE (((students.user_id)=$id) AND (((students.name) Like '%$q%') OR ((students.last_name) Like '%$q%') OR ((students.email) Like '%$q%')))")
  </code></pre>
  
  <p>I follow this thread (<a href="https://stackoverflow.com/questions/42121065/eloquent-where-like-clause-with-multiple-columns">Eloquent WHERE LIKE clause with multiple columns</a>)  and it worked fine, but only with two columns Ej:</p>
  
  <pre><code>$students = student::where(user_id, Auth::id())
           -&gt;whereRaw('concat(name," ",last_name) like ?', "%{$q}%")
           -&gt;paginate(9);
  </code></pre>
  
  <p>But if I add more than two columns then the resultant variable is always empty, no matter if what is in the variable $q match with one or more columns:</p>
  
  <pre><code>$students = student::where(user_id, Auth::id())
           -&gt;whereRaw('concat(name," ",last_name," ",email) like ?', "%{$q}%")
           -&gt;paginate(9)
  </code></pre>
  
  <p>I am pretty sure I am missing something but i can't find what it is. Thanks in advance.</p>