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=string );

Returns: void

Argument Description
string, optional

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


There are currently no examples for this function.

See also