ormCloseSession

Closes the current ORM session for the given datasource. When the datasource argument is not passed then it uses the default datasource defined in Application.cfc.

ormCloseSession([datasource]) → returns void

Argument Reference

datasource string

Name of the datasource for the ORM session

Examples
Sample code invoking the ormCloseSession function

ormCloseSession();

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

Fork me on GitHub