Description

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

History

ColdFusion 10: Added this function

Syntax

ORMIndexPurge();ORMIndexPurge("entityName");ORMIndexPurge("entityName_list");

Parameters

Parameter

Description

entityName

Name of the entity to be loaded.

entityName_list

Comma-separated list of entity names for purging.

Usage

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

Example

ORMIndexPurge();



ORMIndexPurge("Employee");

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy