ormFlush

Flushes the current ORM session. ORMFlush flushes all the pending CRUD operations in that request. Any changes made in the objects, in the current ORM session, are saved to the database.

ormFlush([datasource]) → returns void

ormFlush Argument Reference

datasource string

datasource used for the session, if nor defined the datasource defined in Application.cfc/cfapplication is used.

Examples sample code invoking the ormFlush function

ormFlush();

Fork me on GitHub