Clears all indexed data for all entities or specified entities in the current application scope.
ormIndexPurge(); ormIndexPurge("entityName"); ormIndexPurge("entityName_list");
→ returns void
If you use this function without specifying entityName, all persistent entities of the application are purged.
ormIndexPurge();
ormIndexPurge('Employee');