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