Declaration

function AddIndex(const aName: string; aFileNumber: Integer; aDups: Boolean; const aDesc: string = ''; aKeyClass: TnxKeyDescriptorClass = nil; aIndexClass: TnxIndexDescriptorClass = nil): TnxIndexDescriptor; override; overload;

 
Description

This function adds a new instance of an Index Descriptor to the indices descriptor and returns the newly created Instance.

 
Parameters

const aName: string

the name of the index

aFileNumber: Integer

the file the Index is stored in

aDups: Boolean

set to True if duplicates are allowed for this index

const aDesc: string = ''

a human readable description of the field

aKeyClass: TnxKeyDescriptorClass = nil

the class for the Key Descriptor to use

aIndexClass: TnxIndexDescriptorClass = nil

the class of the instance to be created.

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes | TnxMainIndicesDescriptor