Methods

Class Public methods

new(abstract_schema_reflection, connection)

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 150
      def initialize(abstract_schema_reflection, connection)
        @schema_reflection = abstract_schema_reflection
        @connection = connection
      end
🔎 See on GitHub

Instance Public methods

add(name)

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 175
      def add(name)
        @schema_reflection.add(@connection, name)
      end
🔎 See on GitHub

cached?(table_name)

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 163
      def cached?(table_name)
        @schema_reflection.cached?(table_name)
      end
🔎 See on GitHub

clear!()

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 155
      def clear!
        @schema_reflection.clear!
      end
🔎 See on GitHub

clear_data_source_cache!(name)

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 211
      def clear_data_source_cache!(name)
        @schema_reflection.clear_data_source_cache!(@connection, name)
      end
🔎 See on GitHub

columns(table_name)

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 183
      def columns(table_name)
        @schema_reflection.columns(@connection, table_name)
      end
🔎 See on GitHub

columns_hash(table_name)

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 187
      def columns_hash(table_name)
        @schema_reflection.columns_hash(@connection, table_name)
      end
🔎 See on GitHub

columns_hash?(table_name)

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 191
      def columns_hash?(table_name)
        @schema_reflection.columns_hash?(@connection, table_name)
      end
🔎 See on GitHub

data_source_exists?(name)

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 171
      def data_source_exists?(name)
        @schema_reflection.data_source_exists?(@connection, name)
      end
🔎 See on GitHub

data_sources(name)

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 179
      def data_sources(name)
        @schema_reflection.data_sources(@connection, name)
      end
🔎 See on GitHub

dump_to(filename)

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 215
      def dump_to(filename)
        @schema_reflection.dump_to(@connection, filename)
      end
🔎 See on GitHub

indexes(table_name)

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 195
      def indexes(table_name)
        @schema_reflection.indexes(@connection, table_name)
      end
🔎 See on GitHub

load!()

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 159
      def load!
        @schema_reflection.load!(@connection)
      end
🔎 See on GitHub

primary_keys(table_name)

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 167
      def primary_keys(table_name)
        @schema_reflection.primary_keys(@connection, table_name)
      end
🔎 See on GitHub

size()

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 207
      def size
        @schema_reflection.size(@connection)
      end
🔎 See on GitHub

version()

📝 Source code
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 203
      def version
        @schema_reflection.version(@connection)
      end
🔎 See on GitHub