class ArJdbc::MySQL::MysqlString

@private

Public Instance Methods

type_cast_for_database(value) click to toggle source
Calls superclass method
# File lib/arjdbc/mysql/adapter.rb, line 926
def type_cast_for_database(value)
  case value
  when true then "1"
  when false then "0"
  else super
  end
end

Private Instance Methods

cast_value(value) click to toggle source
Calls superclass method
# File lib/arjdbc/mysql/adapter.rb, line 936
def cast_value(value)
  case value
  when true then "1"
  when false then "0"
  else super
  end
end