ORMClearSession()
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 |
---|---|
datasource
string,
optional
|
datasource used for the session, if nor defined the datasource defined in application.cfc/cfapplication is used. |
Examples
There are currently no examples for this function.
See also
- ORM
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)