PgDAC

TPgDataSetOptions.OIDAsInt Property

Used to read OID fields as integer values and map these fields to TIntegerField.

Class

TPgDataSetOptions

Syntax

property OIDAsInt: boolean default False;

Remarks

Use the OIDAsInt property to read OID fields as integer values and map these fields to TIntegerField.

By default dataset treats all fields with OID data type in the table (except main OID field of table created WITH OIDS option) as descriptors of large objects. PgDAC will try to read large objects with OIDs from query, and will fail if these OIDs are not large object descriptors.

Set these option to True to read OIDs as integer values and map OID fields to TIntegerField. Set this option to False to read OIDs as large objects descriptors, and then read the values of the corresponding large objects. When OIDAsInt is False, OID fields are mapped on TBlobField.

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