add options to generate valid mysql queries