You are using sqlite3 in Python and need to ensure that data integrity is maintained when performing multiple related INSERT operations. Which method should you call on the connection object to commit your changes?
commit() is the standard method to finalize a transaction in sqlite3.
Why this answer
The commit() method is used to save the current transaction to the database.