KnowledgeBoat Logo

Computer Science

A DELETE or UPDATE or INSERT query requires commit() to reflect the changes in the database.

Python MySQL

3 Likes

Answer

True

Reason — We need to run commit() with the connection object for DELETE, UPDATE, or INSERT queries that change the data of the database table, so that the changes are reflected in the database.

Answered By

1 Like


Related Questions