Create a basic layer for database operations
amritghimire opened this issue · 0 comments
amritghimire commented
Structure:
# Database
datamegh.api.db
from datamegh.api.db import db, Model
# DB
db.insert(connection, table, data)
db.find_all(connection, table, [fields])
db.delete(connection, table, params)