Tags · Functions · Objects
Lucee Function Reference
Choose a function:


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([string datasource]):void


The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
datasource string  No datasource used for the session, if nor defined the datasource defined in application.cfc/cfapplication is used.