Removes all the entities that are loaded or created in the session.

This clears the first level cache and removes the objects that are not yet saved to the database.

ORMClearSession( 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