georgiev / rubyfb

ruby/rails Firebird db access library
Other
16 stars 5 forks source link

rubyforge #28865 - expose sqlscale attribute of ResultSet and Row columns #1

Closed pilcrow closed 13 years ago

pilcrow commented 13 years ago

A column's scale is needed to correctly distinguish — without fetching any rows — some integral columns from some floating point columns, since #get_base_type may return, for example :BIGINT in both cases.

See rubyforge tracker #28865 for details.