class ODBCAdapter::Column

Attributes

native_type[R]

Public Class Methods

new(name, default, sql_type_metadata = nil, null = true, table_name = nil, native_type = nil, default_function = nil, collation = nil) click to toggle source

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

Calls superclass method
# File lib/odbc_adapter/column.rb, line 8
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)
  @native_type = native_type
end