Q12
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
AnswerD.
It cancels a transaction
Answer: Option C
Solution
Answer: Option C
Solution:
The commit() method saves the changes made during a database transaction.