Performs offline indexing - using this function without specifying parameters, all perseistent entities of a given application are indexed.

ORMIndex(); ORMIndex('entity_name'); ORMIndex('entity_list'); ORMIndex('entityObject'); → returns void

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

Examples sample code invoking the ORMIndex function

Script Syntax

EmpOBJs = entityLoad('employee', {lastname='Bond'}); 
 for(EmpObj in EmpObjs) 
 ORMIndex(empObj); ]r]n } 

Fork me on GitHub