This week, I have added the support for SQLalchemy model to store presistant data along with the static file based JSON storage. User is given an option to use sqlAlchemy (mysql and sqlite3) in config file.
If config file includes entries for both of the above then SQLalchemy is given priority. If none of them are present in config, appropriate message is displayed and Exception is raised. If database does not exist then way to create DB is printed on screen. Another controller/db/createdb.py file is added, which will create blank json file or database and tables with appropriate columns for the first time use. there are two columns, 1. id : stores uuid, which is unique (TYPE : TEXT) 2. data : stores json data (TYPE: TEXT) Pending: Adding support for properly parsing sql data fetching string and converting to dict while adding into db, converting dict data to string -- Best regards, Harsh Daftary <https://www.harshdaftary.com/> This message is for the designated person only. & Please consider the environment before printing.
_______________________________________________ Soc-coordination mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/soc-coordination
