QMS

Query Made Simple


Keywords
mysql, querybuiler
License
MIT
Install
pip install QMS==0.5.1dev1

Documentation

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)