Tables and Rows: CREATE TABLE and INSERT
CREATE TABLE IF NOT EXISTS gives each column a type and rules such as NOT NULL, DEFAULT and CHECK that refuse bad rows, and INSERT adds rows with ? placeholders, one at a time with execute or many with executemany, with lastrowid giving the new row's id.
Updated

- Category
- FastAPI
- Level
- Apprentice
- Tags
- CHECK Constraint, CREATE TABLE, database, DEFAULT Clause, INSERT, NOT NULL Constraint, Null, sql, sqlite