title: Dynamic OR filtering - Slick
body: <p>Ok, I've got a method with multiple optional arguments like this </p>
  
  <pre><code>def(username: Option[String], petname: Option[String], favouritefood: Option[String])
  </code></pre>
  
  <p>and i want to write a dynamic query that will be capable of fetching the data of defined arguments in a way of this</p>
  
  <pre><code>select * from table where un like username or pn like pn or ff like ff;
  </code></pre>
  
  <p>so depending of which arguments are defined to add them to query with OR operator? </p>