execute
Executes a write query (INSERT, UPDATE, DELETE).
Return
The number of rows affected by the query.
Parameters
sql
The SQL query to execute.
parameters
The parameters for the query, or an empty list if none.
Throws
If a database error occurs.
If the operation is cancelled.