Class: ActiveRecord::ConnectionAdapters::MysqlAdapter
- Inherits:
-
JdbcAdapter
- Object
- AbstractAdapter
- JdbcAdapter
- ActiveRecord::ConnectionAdapters::MysqlAdapter
- Includes:
- ArJdbc::MySQL
- Defined in:
- lib/arjdbc/mysql/adapter.rb
Instance Attribute Summary
Attributes inherited from JdbcAdapter
Class Method Summary collapse
-
.visitor_for(pool) ⇒ Object
:nodoc:.
Instance Method Summary collapse
- #adapter_spec(config) ⇒ Object
-
#initialize(*args) ⇒ MysqlAdapter
constructor
A new instance of MysqlAdapter.
- #jdbc_column_class ⇒ Object
- #jdbc_connection_class(spec) ⇒ Object
Methods included from ArJdbc::MySQL
#adapter_name, #add_column, #add_column_position!, #add_limit_offset!, #arel2_visitors, #begin_db_transaction, #case_sensitive_equality_operator, #case_sensitive_modifier, #change_column, #change_column_default, #change_column_null, #charset, #collation, column_selector, #commit_db_transaction, #configure_connection, #create_database, #create_savepoint, #create_table, #current_database, #disable_referential_integrity, #drop_database, extended, #jdbc_columns, jdbc_connection_class, #limited_update_conditions, #modify_types, #quote, #quoted_false, #quoted_true, #recreate_database, #release_savepoint, #rename_column, #rename_table, #rollback_db_transaction, #rollback_to_savepoint, #show_variable, #structure_dump, #supports_savepoints?, #type_to_sql
Methods inherited from JdbcAdapter
#_execute, #active?, #adapter_name, #arel2_visitors, #begin_db_transaction, #commit_db_transaction, #configure_arel2_visitors, #database_name, #disconnect!, #exec_query, #execute, #indexes, #insert_sql, #is_a?, #jdbc_columns, #jdbc_connection, #jdbc_insert, #jdbc_select_all, #jdbc_update, #modify_types, #native_database_types, #native_sql_to_type, #pk_and_sequence_for, #primary_key, #primary_keys, #reconnect!, #rollback_db_transaction, #select, #select_one, #select_rows, #substitute_binds, #supports_migrations?, #table_exists?, #tables, #write_large_object
Methods included from ShadowCoreMethods
Methods included from JdbcConnectionPoolCallbacks
included, needed?, #on_checkin, #on_checkout
Methods included from CompatibilityMethods
Constructor Details
#initialize(*args) ⇒ MysqlAdapter
Returns a new instance of MysqlAdapter.
412 413 414 415 |
# File 'lib/arjdbc/mysql/adapter.rb', line 412 def initialize(*args) super configure_connection end |
Class Method Details
Instance Method Details
#adapter_spec(config) ⇒ Object
421 422 423 |
# File 'lib/arjdbc/mysql/adapter.rb', line 421 def adapter_spec(config) # return nil to avoid extending ArJdbc::MySQL, which we've already done end |
#jdbc_column_class ⇒ Object
429 430 431 |
# File 'lib/arjdbc/mysql/adapter.rb', line 429 def jdbc_column_class ActiveRecord::ConnectionAdapters::MysqlColumn end |
#jdbc_connection_class(spec) ⇒ Object
425 426 427 |
# File 'lib/arjdbc/mysql/adapter.rb', line 425 def jdbc_connection_class(spec) ::ArJdbc::MySQL.jdbc_connection_class end |