QMS
Query Made Simple
Dependencies
- PyMysql
Features
- Provides SQL Query Builer
Installation
pip install qms
Todo
- Any other kind of queries (update, delete, show...)
- Tests
Usage
from qms import *
load_qms_config('qms.json')
query = Query.select('some, field', 'table_name').where("field", Query.LIKE, '%a value%').orWhere("some_other_field", Query.EQUAL, "another_value");
print(query.get())
results = query.execute("my_handler")
print(results)