A MySQL class for more convenient database manipulations with Python dictionary.
Project description
#KaniMySQL
This is the fork from DictMySQL and change it to use AttrDict and use like ORM.
## Concept
While developping with ORM such as SQLAlchemy, ORM object management can execute unexpected queries. Especially after commit execution, all the objects need to execute SELECT query in the case of changing values. It is not a few times unnecessary. So KaniMySQL does require select queries when accessing a modified object. And update method is needed to apply changes to the DB.
## How to use All table must have autoincrement column named id like SQLAlchemy.
Anything else, just see the example.py. where method is mostly same as DictMySQL.
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
Built Distribution
Hashes for kanimysql-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c09b151b4e24faedda3f9105f45f0824d9bf2636b84723444b155b3e6cc915cb |
|
MD5 | 416c77906e3f6b92028aa438afb3e005 |
|
BLAKE2b-256 | 59823a1156155c33189d6c5f0d0e85f94233dc8efe63b3b7bf923e95b71f4a1b |