lib/dbi/handles/statement.rb
#
# Obtain the type mappings for the columns in this query based on
# ColumnInfo data on the query.
#
# The result will be a position-dependent array of objects that conform
# to the DBI::Type calling syntax.
#
Obtain the type mappings for the columns in this query based on
ColumnInfo data on the query.

The result will be a position-dependent array of objects that conform
to the DBI::Type calling syntax.
Obtain the type mappings for the columns in this query based on ColumnInfo data on the query . The result will be a position - dependent array of objects that conform to the DBI :: Type calling syntax .
def column_types
            sanity_check
            return @coltypes unless @coltypes.nil?
            @coltypes = @handle.column_info.collect do |col| 
                if col['dbi_type']
                    col['dbi_type']
                else
                    DBI::TypeUtil.type_name_to_module(col['type_name'])
                end
            end
        end
def column_types sanity_check return @coltypes unless @coltypes . nil? @coltypes = @handle . column_info . collect do | col | if col [ 'dbi_type' ] col [ 'dbi_type' ] else DBI :: TypeUtil . type_name_to_module ( col [ 'type_name' ] ) end end end
Obtain the type mappings for the columns in this query based on
ColumnInfo data on the query.
Obtain the type mappings for the columns in this query based on ColumnInfo data on the query .