connection.commit()
Description
This method commits the currently pending transaction to the database.
By default, Psycopg opens a transaction before executing the first command. If commit() is not called, the effect of any data operation will be lost.
Prototype
connection.commit()
Parameters
None
Return Values
None
Examples
For details, see Examples: Common Operations.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot