Clears all indexed data for all entities or specified entities in the current application scope.
ormIndexPurge(); ormIndexPurge("entityName"); ormIndexPurge("entityName_list");
returns void
Name | Type | Required | Default | Description |
---|---|---|---|---|
region | string | Yes | Name of the cache region. |
If you use this function without specifying entityName, all persistent entities of the application are purged.
ormIndexPurge();
ormIndexPurge('Employee');