Database management with sqlite3 using python.
Don't forget to import GDBAPI : import gdbapi
Create a database :
gdbapi.Database().Create("DATABASENAME")
Create a table in a database :
db = gdbapi.Database().Select("DATABASENAME")
gdbapi.Table(db).Create("Users", ("ID", "Fullname", "Username", "Mail"))
Insert data in a table :
db = gdbapi.Database().Select("DATABASENAME")
table = gdbapi.Table(db)
table.Select("Users")
values = ("1", "Alexy DA CRUZ", "geomtech", "[email protected]")
table.Insert(values)