Type:
Class
Constants:
ADAPTER_NAME : 'Mysql2'
MAX_INDEX_LENGTH_FOR_UTF8MB4 : 191
error_number
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::ConnectionAdapters/ActiveRecord::ConnectionAdapters::Mysql2Adapter

error_number(exception) Instance Public methods

2025-01-10 15:47:30
exec_without_stmt
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::ConnectionAdapters/ActiveRecord::ConnectionAdapters::Mysql2Adapter

exec_without_stmt(sql, name = 'SQL', binds = []) Instance Public methods Alias

2025-01-10 15:47:30
disconnect!
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::ConnectionAdapters/ActiveRecord::ConnectionAdapters::Mysql2Adapter

disconnect!() Instance Public methods Disconnects from the database if already

2025-01-10 15:47:30
exec_delete
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::ConnectionAdapters/ActiveRecord::ConnectionAdapters::Mysql2Adapter

exec_delete(sql, name, binds) Instance Public methods Also aliased as:

2025-01-10 15:47:30
initialize_schema_migrations_table
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::ConnectionAdapters/ActiveRecord::ConnectionAdapters::Mysql2Adapter

initialize_schema_migrations_table() Instance Public methods

2025-01-10 15:47:30
quote_string
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::ConnectionAdapters/ActiveRecord::ConnectionAdapters::Mysql2Adapter

quote_string(string) Instance Public methods QUOTING ======================

2025-01-10 15:47:30
new
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::ConnectionAdapters/ActiveRecord::ConnectionAdapters::Mysql2Adapter

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

2025-01-10 15:47:30
execute
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::ConnectionAdapters/ActiveRecord::ConnectionAdapters::Mysql2Adapter

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

2025-01-10 15:47:30
create
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::ConnectionAdapters/ActiveRecord::ConnectionAdapters::Mysql2Adapter

create(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil) Instance Public methods

2025-01-10 15:47:30
supports_explain?
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::ConnectionAdapters/ActiveRecord::ConnectionAdapters::Mysql2Adapter

supports_explain?() Instance Public methods

2025-01-10 15:47:30