TIndexDefs.Add procedure
Add a new index definition with given name and options.
Declaration
procedure Add(const Name: string; const Fields: string;
Options: TIndexOptions); overloadArguments
Name | Name for the new index definition. |
Fields | Value for the
|
Options | Value for the
|
Description
Add adds a new
TIndexDef instance to the list of indexes. It initializes the index definition properties
Name,
Fields and
Options with the values given in the parameters with the same names.Errors
If an index with the same
Name already exists in the list of indexes, an exception will be raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
