Methods
- A
- D
- E
- N
- Q
- R
- S
Included Modules
Constants
ADAPTER_NAME | = | "Mysql2" |
Class Public methods
database_exists?(config)
Link
new(connection, logger, connection_options, config)
Link
# File activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb, line 41 def initialize(connection, logger, connection_options, config) superclass_config = config.reverse_merge(prepared_statements: false) super(connection, logger, connection_options, superclass_config) configure_connection end
Instance Public methods
active?()
Link
disconnect!()
Link
Disconnects from the database if already connected. Otherwise, this method does nothing.
error_number(exception)
Link
quote_string(string)
Link
supports_comments?()
Link
supports_comments_in_create?()
Link
supports_json?()
Link
supports_lazy_transactions?()
Link