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_index_sort_order?

supports_index_sort_order?() Instance Public methods Technically MySQL allows

2015-06-20 00:00:00
schema_creation

schema_creation() Instance Public methods

2015-06-20 00:00:00
add_column_position!

add_column_position!(sql, options) Instance Public methods

2015-06-20 00:00:00
add_index_sql

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

2015-06-20 00:00:00
strict_mode?

strict_mode?() Instance Public methods

2015-06-20 00:00:00
remove_timestamps_sql

remove_timestamps_sql(table_name) Instance Protected methods

2015-06-20 00:00:00
new

new(connection, logger, connection_options, config) Class Public methods FIXME:

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