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

charset() Instance Public methods Returns the database character set.

2015-06-20 00:00:00
execute

execute(sql, name = nil) Instance Public methods Executes the SQL statement

2015-06-20 00:00:00
begin_db_transaction

begin_db_transaction() Instance Public methods

2015-06-20 00:00:00
supports_migrations?

supports_migrations?() Instance Public methods Returns true, since this connection

2015-06-20 00:00:00
change_column_null

change_column_null(table_name, column_name, null, default = nil) Instance Public methods

2015-06-20 00:00:00
add_timestamps_sql

add_timestamps_sql(table_name, options = {}) Instance Protected methods

2015-06-20 00:00:00
quote

quote(value, column = nil) Instance Public methods QUOTING ================

2015-06-20 00:00:00
pk_and_sequence_for

pk_and_sequence_for(table) Instance Public methods Returns a table's primary

2015-06-20 00:00:00
current_database

current_database() Instance Public methods

2015-06-20 00:00:00
case_sensitive_modifier

case_sensitive_modifier(node) Instance Public methods

2015-06-20 00:00:00