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]
show_variable

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

2015-06-20 00:00:00
type_cast

type_cast(value, column) Instance Public methods

2015-06-20 00:00:00
supports_primary_key?

supports_primary_key?() Instance Public methods

2015-06-20 00:00:00
native_database_types

native_database_types() Instance Public methods

2015-06-20 00:00:00
case_insensitive_comparison

case_insensitive_comparison(table, attribute, column, value) Instance Public methods

2015-06-20 00:00:00
remove_columns_sql

remove_columns_sql(table_name, *column_names) Instance Protected methods

2015-06-20 00:00:00
add_column_sql

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

2015-06-20 00:00:00
table_exists?

table_exists?(name) Instance Public methods

2015-06-20 00:00:00
index_algorithms

index_algorithms() Instance Public methods

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