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

ormCloseSession Argument Reference

datasource string

Name of the datasource for the ORM session

Examples sample code invoking the ormCloseSession function


Fork me on GitHub