Description Usage Arguments Details Author(s)
Initialize an empty database
1 2 3 4 5 6 7 |
db_file |
string, the full path and name of the database file to be initialized. |
driver |
A SQLite driver |
con |
A connection to an empty database. If the database does not exist, it will be created. |
schema |
string, a SQLite command to create the database |
schema_file |
a file with SQLite code specifying the schema for the database. |
This function initialized a database according to a schema. This is done so that contraints on the data fields, including keys, can be specified. Once initialized, the database can be populated while ensuring that the data meet the constraints.
Matt Espe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.