Method DacConnectionPool():shutdown() Foundation

Close all connections in the connection pool.

Syntax
:shutdown() --> self
Return

This method returns self.

Description

Closes all active connections managed by the connection pool. This ensures that resources such as database connections are released properly, avoiding potential memory leaks or connection exhaustion.

The :shutdown() method is designed to gracefully close all active database connections in the pool. It also prevents new connections from being requested after the method is invoked. This is typically used during application shutdown or when the connection pool is no longer needed.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.