Module: Ci::Partitionable::Switch

Extended by:
ActiveSupport::Concern
Defined in:
app/models/concerns/ci/partitionable/switch.rb

Constant Summary collapse

SWAPABLE_METHODS =

These methods are cached at the class level and depend on the value of ‘table_name`, changing that value resets them. `cached_find_by_statement` is used to cache SQL statements which can include the table name.

%i[table_name quoted_table_name arel_table
predicate_builder cached_find_by_statement].freeze