Sha256: a50b9b86b8817616c96c8c11c78d3c6d22164720bcf9ae53213df5c89cd28404

Contents?: true

Size: 576 Bytes

Versions: 2

Compression:

Stored size: 576 Bytes

Contents

module ODBCAdapter
  class Column < ActiveRecord::ConnectionAdapters::Column
    attr_reader :native_type

    # Add the native_type accessor to allow the native DBMS to report back what
    # it uses to represent the column internally.
    # rubocop:disable Metrics/ParameterLists
    def initialize(name, default, sql_type_metadata = nil, null = true, table_name = nil, native_type = nil, default_function = nil, collation = nil)
      super(name, default, sql_type_metadata, null, table_name, default_function, collation)
      @native_type = native_type
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
odbc_adapter-5.0.5 lib/odbc_adapter/column.rb
odbc_adapter-5.0.3 lib/odbc_adapter/column.rb