execute¶
- getml.sqlite3.execute(conn: Connection, fname: str)[source]¶
Executes an SQL script or several SQL scripts on SQLite3.
- Args:
- conn (sqlite3.Connection):
A sqlite3 connection created by
connect()
.- fname (str):
The names of the SQL script or a folder containing SQL scripts. If you decide to pass a folder, the SQL scripts must have the ending ‘.sql’.