DbPoolClear()
Clear all existing datasource connections
DbPoolClear( datasource=string, force=boolean );
Returns: Boolean
| Argument | Description | Default |
|---|---|---|
|
datasource
string,
optional
|
edit
specific datasource to clear, if not set all datasources get removed. Alias: datasourceName, name, ds |
|
|
force
boolean,
optional
|
edit
If true (default), clears all idle connections immediately. If false, only evicts connections that have exceeded their idleTimeout. Introduced: 6.2.5.4 |
true |