connection.close()

Function

This method closes the database connection.

CAUTION: This method closes the database connection and does not automatically call commit(). If you just close the database connection without calling commit() first, changes will be lost.

Prototype

connection.close()

Parameter

None

Return Value

None

Examples

For details, see Example: Common Operations.

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