lrvtc.dropIndex

Deletes the index on a column.

ExampleGlobal Functions

Syntax

lrvtc.dropIndex ( columnName );

Arguments

nameComments
columnNameThe name of the column to remove the index from.

lrvtc.dropIndex deletes a column index created with lrvtc.ensureIndex.

Return Values

Returns zero on success or one of the Error Codes.

Parameterization

All string input arguments can be passed using standard parameterization.

Example

var rc = 0;

rc = lrvtc.createColumn("Name");
if(rc) {lr.errorMessage("Create column failed.");}

rc = lrvtc.dropIndex("Name");
if(rc) {lr.errorMessage("Index operation failed.");}