Datasnap.DBClient.TFetchOption
Delphi
TFetchOption = (foRecord, foBlobs, foDetails);
C++
enum DECLSPEC_DENUM TFetchOption : unsigned char { foRecord, foBlobs, foDetails };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | Datasnap.DBClient |
Description
TFetchOption and TFetchOptions indicate the type of information about a record that a client dataset can request.
Providers encode the flags received from a client dataset that indicate what type of row information they require into a value of type TFetchOptions. This value is used internally when assembling the requested information. TFetchOptions is a set that includes zero or more of the following values:
Value | Meaning |
---|---|
foRecord |
The values of fields on the current record. (Used to refresh records). |
foBlobs |
The values of BLOB fields on the current record. (Used to implement delayed fetching of BLOB data). |
foDetails |
Any nested dataset fields for the current record. (Used to implement delayed fetching of detail datasets. |