Updated on 2025-05-29 GMT+08:00

Closing a Database Connection

After you complete required data operations in a database, close the database connection.

Call the close method to close the connection.

conn.close();