Class: ActiveRecordProxyAdapters::Mysql2Proxy

Inherits:
PrimaryReplicaProxy show all
Defined in:
lib/active_record_proxy_adapters/mysql2_proxy.rb

Overview

Proxy to the original Mysql2Adapter, allowing the use of the ActiveRecordProxyAdapters::PrimaryReplicaProxy.

Direct Known Subclasses

TrilogyProxy

Constant Summary

Constants inherited from PrimaryReplicaProxy

PrimaryReplicaProxy::CTE_MATCHER, PrimaryReplicaProxy::SQL_ALL_MATCHERS, PrimaryReplicaProxy::SQL_PRIMARY_MATCHERS, PrimaryReplicaProxy::SQL_REPLICA_MATCHERS, PrimaryReplicaProxy::SQL_SKIP_ALL_MATCHERS, PrimaryReplicaProxy::WRITE_STATEMENT_MATCHERS

Method Summary

Methods inherited from PrimaryReplicaProxy

hijacked_methods, #initialize

Methods included from ActiveRecordProxyAdapters::Mixin::Configuration

#cache_key_for, #cache_store, #checkout_timeout, #context_store, #log_subscriber_prefix, #logger, #proxy_delay, #regexp_timeout_strategy

Methods included from Contextualizer

current_context, current_context=

Constructor Details

This class inherits a constructor from ActiveRecordProxyAdapters::PrimaryReplicaProxy