FireDAC.Comp.DataSet.TFDIndex.Distinct

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property Distinct: Boolean read FDistinct write SetDistinct default False;

C++

__property bool Distinct = {read=FDistinct, write=SetDistinct, default=0};

Description

Controls returning of a distinct view value.

Set the Distinct property to True to include into the view only a first record from the set of records with the same index value. The option is similar to the SQL DISTINCT keyword.

See Also