connection.begin()
Description
This method will start a transaction.
By default, begin() is not called, and PyMySQL opens a transaction before the first command is executed. The begin() method provides the capability of manually controlling transactions.
Prototype
connection.begin()
Parameters
None
Return Value
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