Methods

Included Modules

Files

Class/Module Index [+]

Quicksearch

ActiveRecord::ConnectionAdapters::MysqlAdapter::Column

Public Class Methods

new(name, default, sql_type = nil, null = true, collation = nil, strict = false, extra = '') click to toggle source
# File lib/arjdbc/mysql/adapter.rb, line 630
def initialize(name, default, sql_type = nil, null = true, collation = nil, strict = false, extra = '')
  if Hash === name
    super # first arg: config
  else
    @strict = strict; @collation = collation; @extra = extra
    super(name, default, sql_type, null)
    # base 4.1: (name, default, sql_type = nil, null = true)
  end
end

Public Instance Methods

adapter() click to toggle source

@note {#ArJdbc::MySQL::Column} uses this to check for boolean emulation

# File lib/arjdbc/mysql/adapter.rb, line 651
def adapter
  MysqlAdapter
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.