connection.rollback()

Function

This method rolls back the current pending transaction.

CAUTION: If you close the connection using close() but do not commit the change using commit(), an implicit rollback will be performed.

Prototype

connection.rollback()

Parameter

None

Return Value

None

Examples

For details, see Example: Common Operations.

Feedback
编组 3备份
    openGauss 2024-05-07 00:46:52
    cancel