go-goracle/goracle

wrap oracle types

elnando opened this issue · 4 comments

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

Yes, but what for? The users of goracle does not meet with such constants AFAIK.

DescribeQuery returns []QueryColumn which contains Type of int which could be required if you need to play with dynamic queries.

DescribeQuery is a hack from before Rows.ColumnTypes.

Thanks