class Mysql2Adapter
Ruby on Rails 3.1.12
Since v3.1.12No documentation comment.
Inherits from
Constants
- ActiveRecord::ConnectionAdapters::Mysql2Adapter::ADAPTER_NAME
- ActiveRecord::ConnectionAdapters::Mysql2Adapter::LOST_CONNECTION_ERROR_MESSAGES
- ActiveRecord::ConnectionAdapters::Mysql2Adapter::NATIVE_DATABASE_TYPES
- ActiveRecord::ConnectionAdapters::Mysql2Adapter::PRIMARY
- ActiveRecord::ConnectionAdapters::Mysql2Adapter::QUOTED_FALSE
Methods (defined here)
- # active?
- # adapter_name
- # add_column
- # add_column_position!
- # add_limit_offset!
- # begin_db_transaction
- # case_sensitive_equality_operator
- # case_sensitive_modifier
- # change_column
- # change_column_default
- # change_column_null
- # charset
- # collation
- # columns
- # commit_db_transaction
- # create
- # create_database
- # create_savepoint
- # create_table
- # current_database
- # disconnect!
- # drop_table
- # exec_delete
- # exec_insert
- # exec_update
- # execute
- # indexes
- # insert_sql
- # last_inserted_id
- # limited_update_conditions
- # native_database_types
- # pk_and_sequence_for
- # primary_key
- # quote
- # quoted_columns_for_index
- # quoted_false
- # quoted_true
- # quote_string
- # reconnect!
- # recreate_database
- # release_savepoint
- # rename_column
- # rename_table
- # requires_reloading?
- # reset!
- # rollback_db_transaction
- # rollback_to_savepoint
- # select_rows
- # show_variable
- # structure_dump
- # substitute_at
- # supports_migrations?
- # supports_primary_key?
- # supports_savepoints?
- # table_exists?
- # translate_exception
- # type_to_sql
- # update_sql
- self. new
Private methods
(7)
Implementation detail — not part of the public API.
- # column_for
- # configure_connection
- # connect
- # exec_query
- # select
- # supports_views?
- # version
Methods (inherited)
From ActiveRecord::ConnectionAdapters::AbstractAdapter (30)
- # active?
- # adapter_name
- # case_sensitive_modifier
- # clear_cache!
- # create_savepoint
- # current_savepoint_name
- # decrement_open_transactions
- # disable_referential_integrity
- # disconnect!
- # increment_open_transactions
- # log
- # open_transactions
- # prefetch_primary_key?
- # quote_table_name
- # raw_connection
- # reconnect!
- # release_savepoint
- # requires_reloading?
- # reset!
- # rollback_to_savepoint
- # substitute_at
- # supports_bulk_alter?
- # supports_count_distinct?
- # supports_ddl_transactions?
- # supports_migrations?
- # supports_primary_key?
- # supports_savepoints?
- # transaction_joinable=
- # translate_exception
- # verify!
From ActiveRecord::ConnectionAdapters::QueryCache (8)
- # cache
- # clear_query_cache
- # disable_query_cache!
- # enable_query_cache!
- # select_all
- # uncached
- self. dirties_query_cache
- self. included
From ActiveSupport::Callbacks (1)
From Object (24)
- # acts_like?
- # app
- # blank?
- # controller
- # create_fixtures
- # duplicable?
- # helper
- # html_safe?
- # in?
- # index
- # instance_variable_names
- # new_session
- # options
- # presence
- # present?
- # reload!
- # show
- # test_homepage
- # to_param
- # to_query
- # try
- # unescape
- # with_options
- self. table_name_prefix
From ActiveSupport::Concern (3)
- # append_features
- # included
- self. extended
From ActiveSupport::DescendantsTracker (6)
- # descendants
- # direct_descendants
- # inherited
- self. clear
- self. descendants
- self. direct_descendants