CorgiDB.utils.create_table
Last updated
Last updated
this method will create_table on the connected database
name : str
name of the table, e.g., "Personnel"
, "Student"
columns : list
columns contain in the table in form of ("Columns name", dtype)
in list
e.g., [("name", str), ("age", int)]
with only int, float, bool, str
are supported
Returns
out : Table
CorgiDB's Table object for us to manipulate the table after the creation
Creating an already existing Table will raise an SQLite3 error