Examveda

What does the commit() method do in the context of database transactions?

A. It creates a new database

B. It inserts new records into the database

C. It saves changes made during a transaction

D. It cancels a transaction

Answer: Option C

Solution (By Examveda Team)

The commit() method saves the changes made during a database transaction.

Join The Discussion

Related Questions on Database Connectivity with Python

What is SQLite?

A. A type of programming language

B. A relational database management system

C. A Python module for web scraping

D. A version control system