Skip to content

TIndexDef

Index definition.

Declaration

Source position: db.pas line 1262

type

  TIndexDef = class(TNamedItem)
  public
    constructor Create; overload;
  published
    property Expression: string; {rw}
    property Fields: string; {rw}
    property CaseInsFields: string; {rw}
    property DescFields: string; {rw}
    property Options: TIndexOptions; {rw}
    property Source: string; {rw}
  end;

Description

TIndexDef describes one index in a set of indexes of a TDataset instance. The collection of indexes is described by the TIndexDefs class. It just has the necessary properties to describe an index, but does not implement any functionality to maintain an index.

Properties

Member Visibility Description
CaseInsFields published Fields in field list that are ordered case-insensitively.
DescFields published Fields in field list that are ordered descending.
Expression published Expression that makes up the index values.
Fields published Fields making up the index.
Options published Index options.
Source published Source of the index.
See all Properties

Methods

Member Visibility Description
Create public Create a new index definition.
See all Methods

See also

Name Description
TIndexDefs A class to keep a list of index definitions.