FireDAC.Comp.Client.TFDMemTable.IndexDefs

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDMemTable

Delphi

property IndexDefs stored FStoreDefs;

C++

__property IndexDefs = {stored=FStoreDefs};

Description

Returns the index definitions for the dataset.

FireDAC.Comp.Client.TFDMemTable.IndexDefs inherits from FireDAC.Comp.DataSet.TFDDataSet.IndexDefs. All content below this line refers to FireDAC.Comp.DataSet.TFDDataSet.IndexDefs.

Returns the index definitions for the dataset.

Use the IndexDefs property to read or maintain index definitions. 

The dataset also has an Indexes collection. The application should use either IndexDefs or Indexes, but not both at the same time. We suggest to use Indexes, as it is more flexible. The IndexDefs property is needed for compatibility with other software using TDataSet, where IndexDefs is really defined. 

The TFDTable automatically fills IndexDefs by database indexes, if fiMeta is included in FetchOptions.Items.

See Also