DISCONNECT-POOLED
Prev | Connection and Initialisation | Next

## Name

DISCONNECT-POOLED — closes all pooled database connectionsFunction

## Syntax

    disconnect-pooled &optional clear => t

## Description

This function disconnects all database connections that have been placed into the pool by calling `connect` with :pool `T`.

If optional argument clear is non-`NIL` then the connection-pool objects are also removed.

## Examples

    (disconnect-pool)
    => T

## Side Effects

Database connections will be closed and *all* entries in the pool are removed. This is done with great prejudice and no thought to thread safety or whether that connection is currently in use.

## Affected by

`disconnect`

## Exceptional Situations

If during the disconnection attempt an error is detected (e.g. because of network trouble or any other cause), an error of type clsql-error might be signalled.

## See Also

`connect`
`disconnect`

## Notes

`disconnect-pooled` is a CLSQL extension.

Prev | Up | Next
DISCONNECT | Home | FIND-DATABASE