PgDAC

TPgDataSetOptions.UnknownAsString Property

Used to map fields of unknown data types to TStringField (TWideStringField).

Class

TPgDataSetOptions

Syntax

property UnknownAsString: boolean default False;

Remarks

Use the UnknownAsString to map fields of unknown data types to TStringField (TWideStringField).

If False, fields of unknown data types (including geometric types and composite type when the EnableGeometrics and EnableComposites options of TPgConnection are set to False) are mapped to TMemoField or TWideMemoField depending on the value of the UseUnicode option.

Memo is used because maximum length of values from such fields is unknown.

If True, fields of unknown data types are mapped to TStringField or TWideStringField depending on the value of the UseUnicode option. Size of fields is set to 8192. Values larger than this size are truncated.

© 1997-2020 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback