[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)

TIndexDef

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Index definition

Declaration

Source position: db.pas line 1038

type TIndexDef = class(TNamedItem)

public

  constructor Create(); overload;

  

Create a new index definition

published

  property Expression: string; [rw]

  

Expression that makes up the index values

  property Fields: string; [rw]

  

Fields making up the index

  property CaseInsFields: string; [rw]

  

Fields in field list that are ordered case-insensitively

  property DescFields: string; [rw]

  

Fields in field list that are ordered descending

  property Options: TIndexOptions; [rw]

  

Index options

  property Source: string; [rw]

  

Source of the index

end;

Inheritance

TIndexDef

  

Index definition

|

TNamedItem

  

Named collection item

|

TCollectionItem

|

TPersistent,IFPObserved

|

TObject

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.

See also

TIndexDefs

  

A class to keep a list of index definitions


Documentation generated on: May 14 2021