Description

Performs offline indexing.

History

ColdFusion 10: Added this function

Syntax

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); 
}

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy