Q24
How can you rollback a transaction in the sqlite3 module?
A.
Using the commit() method
B.
Using the rollback() method
AnswerC.
By closing the connection
D.
By re-executing the transaction
Answer: Option B
Solution
Answer: Option B
Solution:
The rollback() method is used to undo changes made during a transaction in the sqlite3 module.