Query Made Simple
Project description
Query Made Simple
Dependencies
PyMysql
Features
Provides SQL Query Builer
Todo
Provide a better way to define qms.json (and an alternative)
Installation process
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
QMS-0.5.1dev1.zip
(8.0 kB
view details)
File details
Details for the file QMS-0.5.1dev1.zip
.
File metadata
- Download URL: QMS-0.5.1dev1.zip
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b14e386620cd26e8e695c99cb5c8c02c5b9c41a5e6302a2a50eccdf75d565d42 |
|
MD5 | a24afa397e63256a11a72e2306502d41 |
|
BLAKE2b-256 | 0c161ae73c9a5cbf8eb8121566c950332ad98f68a4c8df1bdb9be49ea0d8b980 |