[Closes #13] Full conditional logic

Available implementations for:

- MySql
- MongoDB

Missing implementations for:

- ElasticSearch
is this function called from any other module? If not, why is it exported?