|
ESP32 MQTT IoT Communication
|
Creates a sqlite database. More...
Functions | |
| None | create_tables (str schema_path, str db_path) |
| Creates a database according to a schema. | |
| main () | |
| Creates a database using the schema saved at "db/iot_schema.sql" and saving it to "db/iot.db". | |
Creates a sqlite database.
| None db.create_tables | ( | str | schema_path, |
| str | db_path | ||
| ) |
Creates a database according to a schema.
| schema_path | path to the .sql file containing the schema for the database |
| db_path | intended path for the .db file |
Creates a database according to a schema
| db.main | ( | ) |
Creates a database using the schema saved at "db/iot_schema.sql" and saving it to "db/iot.db".
Generates A SQL database with a given schema