title: MyBatis - how to create w dynamic WHERE Clause
body: <p>The service gets an unknown object containing a list of three values ​​[column, operator, value] For example,
  EMAIL - like - "TEST"</p>
  
  <p>Based on the resulting list to build the WHERE clause I have but I would also be able to build such a condition as follows (for example)</p>
  
  <p>WHERE (email like 'test' AND user_id &lt;> 5) OR (trans_id &lt;100 AND session_id> 500)</p>
  
  <p>Does anyone can help me how to do it?</p>