User Guide Cancel

ORMIndex

 

Description

Performs offline indexing.

History

ColdFusion 10: Added this function

Syntax

ORMIndex(_);ORMIndex("_entity_name");ORMIndex("entityName_list");ORMIndex (entityObject__);
ORMIndex(_);ORMIndex("_entity_name");ORMIndex("entityName_list");ORMIndex (entityObject__);
ORMIndex(_);ORMIndex("_entity_name");ORMIndex("entityName_list");ORMIndex (entityObject__);

Parameters

Parameter

Description

entityName

Name of the entity that has to be indexed.

entityName_list

Comma-separated list of entity names for indexing.

entityObject

Variable name of a specific entity instance for indexing.

Usage

If you use this function without specifying any parameters, all persistent entities of a given application are indexed.

Example

EmpObjs = EntityLoad("Employee",{lastname="Bond"});
for(EmpObj in EmpObjs)
{
ormindex(EmpObj);
}
EmpObjs = EntityLoad("Employee",{lastname="Bond"}); for(EmpObj in EmpObjs) { ormindex(EmpObj); }
EmpObjs = EntityLoad("Employee",{lastname="Bond"}); 
for(EmpObj in EmpObjs) 
{ 
ormindex(EmpObj); 
}

Get help faster and easier

New user?