[Closes #13] Full conditional logic

Available implementations for:

- MySql
- MongoDB

Missing implementations for:

- ElasticSearch
Replace the 'if' expression on line 95 with a 'case' expression or function clauses.