CorgiDB.utils.create_table
Last updated
Last updated
from corgidb import CorgiDB
# Connect CorgiDB to db.sqlite
cdb = CorgiDB(database_path="db.sqlite")
# Create a Table
tb = cdb.utils.create_table(
name="Employee"
columns=[
("name" , str),
("gender" , str),
("age" , int),
("height" , float),
("weight" , float)
])