FireDAC.Comp.DataSet.TFDDataSet.FetchDetails

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDDataSet

Delphi

procedure FetchDetails(ADataSetField: TDataSetField = nil);

C++

void __fastcall FetchDetails(Data::Db::TDataSetField* ADataSetField = (Data::Db::TDataSetField*)(0x0));

Description

Retrieves nested datasets from a database for the current record.

Call FetchDetails to retrieve nested datasets from a database for the current dataset record, when these datasets are not provided automatically. Nested datasets are automatically fetched together with other record fields if fiDetails is included into FetchOptions.Items, otherwise the automatic fetch operation is not performed. 

If ADataSetField is specified, then FireDAC fetches nested dataset only for these fielde. Otherwise, it fetches all nested datasets.

See Also