return object attributes as int if metadata says it can be expressed as int · Issue #99 · oracle/python-oracledb (original) (raw)

Currently when fetching objects, scale and precision of numbers is not considered and NUMBER attributes are always returned as python floats, even if scale is 0 and the NUMBER could be better represented as int.

Please add the same logic for objects depending on metadata as used when fetching numbers.

See also discussion #88