dbpoolclear

clears all existing datasource connection

dbPoolClear([, string]) → returns boolean

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

Argument Reference

datasource string

specific datasource to clear, if not set all datasources get removed.

Examples
Sample code invoking the dbpoolclear function

Clear all existing datasource connections

 dbPoolClear();

Clear a named datasource connection

 dbPoolClear(mydatasource);

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub