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

Sample code invoking the ormCloseSession function


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

Fork me on GitHub