module ActiveRecord::ConnectionAdapters::MysqlAdapter::Fields
Constants
- TYPES
Public Class Methods
alias_type(new, old)
click to toggle source
# File lib/active_record/connection_adapters/mysql_adapter.rb, line 391 def self.alias_type(new, old) TYPES[new] = TYPES[old] end
register_type(type_id, type)
click to toggle source
Register an MySQL type_id
with a typcasting object in
type
.
# File lib/active_record/connection_adapters/mysql_adapter.rb, line 387 def self.register_type(type_id, type) TYPES[type_id] = type end