wrap oracle types
elnando opened this issue · 4 comments
elnando commented
Could be possible to wrap the oracle types as part of the goracle package? so that we do not reference them by their number neither its C.DPI_ORACLE_TYPE_..., but something like:
goracle.DPI_ORACLE_TYPE_...?
Thank you
tgulacsi commented
Yes, but what for? The users of goracle does not meet with such constants AFAIK.
elnando commented
DescribeQuery returns []QueryColumn which contains Type of int which could be required if you need to play with dynamic queries.
tgulacsi commented
DescribeQuery is a hack from before Rows.ColumnTypes.
elnando commented
Thanks