ormIndex

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

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

This function requires Adobe ColdFusion 10 and up. 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