Type:
Class
Constants:
LOST_CONNECTION_ERROR_MESSAGES
:
[
"Server shutdown in progress",
"Broken pipe",
"Lost connection to MySQL server during query",
"MySQL server has gone away" ]
QUOTED_FALSE
:
'1', '0'
NATIVE_DATABASE_TYPES
:
{
:primary_key => "int(11) auto_increment PRIMARY KEY",
:string => { :name => "varchar", :limit => 255 },
:text => { :name => "text" },
:integer => { :name => "int", :limit => 4 },
:float => { :name => "float" },
:decimal => { :name => "decimal" },
:datetime => { :name => "datetime" },
:timestamp => { :name => "datetime" },
:time => { :name => "time" },
:date => { :name => "date" },
:binary => { :name => "blob" },
:boolean => { :name => "tinyint", :limit => 1 }
}
INDEX_TYPES
:
[:fulltext, :spatial]
INDEX_USINGS
:
[:btree, :hash]