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]
supports_transaction_isolation?

supports_transaction_isolation?() Instance Public methods MySQL 4 technically

2015-06-20 00:00:00
rename_table

rename_table(table_name, new_name) Instance Public methods Renames a table.

2015-06-20 00:00:00
empty_insert_statement_value

empty_insert_statement_value() Instance Public methods

2015-06-20 00:00:00
rename_column_sql

rename_column_sql(table_name, column_name, new_column_name) Instance Protected methods

2015-06-20 00:00:00
primary_key

primary_key(table) Instance Public methods Returns just a table's primary key

2015-06-20 00:00:00
change_column_sql

change_column_sql(table_name, column_name, type, options = {}) Instance Protected methods

2015-06-20 00:00:00
quoted_true

quoted_true() Instance Public methods

2015-06-20 00:00:00
show_variable

show_variable(name) Instance Public methods SHOW VARIABLES LIKE 'name'

2015-06-20 00:00:00
create_database

create_database(name, options = {}) Instance Public methods Create a new MySQL

2015-06-20 00:00:00
remove_column_sql

remove_column_sql(table_name, column_name, type = nil, options = {}) Instance Protected methods

2015-06-20 00:00:00