ORMIndexPurge

Clears all indexed data for all entities or specified entities in the current application scope.

ORMIndexPurge(); ORMIndexPurge("entityName"); ORMIndexPurge("entityName_list"); → returns Meta data structure related to the current session

This function requires Adobe ColdFusion. Not supported on Lucee, OpenBD, etc.

Argument Reference for the ORMIndexPurge function

region

Required: Yes
Name of the cache region.

Examples sample code invoking the ORMIndexPurge function


Tag Syntax

If you use this function without specifying entityName, all persistent entities of the application are purged.

ORMIndexPurge(); 

Tag Syntax

ORMIndexPurge('Employee'); 

Fork me on GitHub