DataTypeMap.AddDBTypeRule(?,ft...);

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
bogdan
Posts: 20
Joined: Mon 13 Apr 2015 17:27

DataTypeMap.AddDBTypeRule(?,ft...);

Post by bogdan » Thu 14 May 2015 20:44

Hello,
Is there any file or documentation I could use to find the values usable for DBType parameter please?
In the documentation it says about 'pgNumeric' yet the value of this constant is nowhere to be found.
Thank you very much.

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: DataTypeMap.AddDBTypeRule(?,ft...);

Post by azyk » Fri 15 May 2015 11:27

Thank you for your note. We will add this information in our documentation shortly.

For now, you can see the list of these values in the IDE using Code Completion. For this, add the PgDataTypeMapUni unit to the uses clause, type pg in the code and press Ctrl+Space.

d3v3l0per
Posts: 1
Joined: Mon 08 Mar 2021 11:48

Re: DataTypeMap.AddDBTypeRule(?,ft...);

Post by d3v3l0per » Mon 08 Mar 2021 11:53

its 5 years later and I still haven’t found anything. Next time I won’t bother reading you “perfect” documentation

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: DataTypeMap.AddDBTypeRule(?,ft...);

Post by Stellar » Thu 11 Mar 2021 15:04

Sorry for such a long delay, we'll add a section with the values this month.
https://www.devart.com/pgdac/docs/data_type_mapping.htm

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: DataTypeMap.AddDBTypeRule(?,ft...);

Post by Stellar » Wed 21 Jul 2021 12:39

Hi there,

We have added the description of constants for Data Type Mapping into correspondent article:
https://www.devart.com/unidac/docs/using-postgresql.htm

Regards,
Sergey

Post Reply