sqlitegen module
- sqlitegen.execute_script(sqlite_db, scriptFile)
Runs an SQLite script from a file.
- Parameters:
sqlite_db (slqite3 database) – Database name to which the script should establish the connection. If it doesn’t exists, it’s created with this parameter’s name.
scriptFile (sqlite3 script) – SQL script file to run