[Closes #13] Full conditional logic

Available implementations for:

- MySql
- MongoDB

Missing implementations for:

- ElasticSearch
These functions are being tested, but are being called dynamically, in order to avoid repeating the same code with a different module name. They are exported so that there's no compilation warnings.