leapfrogtechnology / datamegh

Datamegh - Data Engineering for the cloud.
MIT License
2 stars 1 forks source link

Create a basic layer for database operations #28

Open amritghimire opened 4 years ago

amritghimire commented 4 years ago

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)