class ActiveRecord::ConnectionAdapters::BoundSchemaReflection
def add(name)
def add(name) @schema_reflection.add(@pool, name) end
def cached?(table_name)
def cached?(table_name) @schema_reflection.cached?(table_name) end
def clear!
def clear! @schema_reflection.clear! end
def clear_data_source_cache!(name)
def clear_data_source_cache!(name) @schema_reflection.clear_data_source_cache!(@pool, name) end
def columns(table_name)
def columns(table_name) @schema_reflection.columns(@pool, table_name) end
def columns_hash(table_name)
def columns_hash(table_name) @schema_reflection.columns_hash(@pool, table_name) end
def columns_hash?(table_name)
def columns_hash?(table_name) @schema_reflection.columns_hash?(@pool, table_name) end
def data_source_exists?(name)
def data_source_exists?(name) @schema_reflection.data_source_exists?(@pool, name) end
def data_sources(name)
def data_sources(name) @schema_reflection.data_sources(@pool, name) end
def dump_to(filename)
def dump_to(filename) @schema_reflection.dump_to(@pool, filename) end
def for_lone_connection(abstract_schema_reflection, connection) # :nodoc:
def for_lone_connection(abstract_schema_reflection, connection) # :nodoc: new(abstract_schema_reflection, FakePool.new(connection)) end
def indexes(table_name)
def indexes(table_name) @schema_reflection.indexes(@pool, table_name) end
def initialize(abstract_schema_reflection, pool)
def initialize(abstract_schema_reflection, pool) @schema_reflection = abstract_schema_reflection @pool = pool end
def load!
def load! @schema_reflection.load!(@pool) end
def primary_keys(table_name)
def primary_keys(table_name) @schema_reflection.primary_keys(@pool, table_name) end
def size
def size @schema_reflection.size(@pool) end
def version
def version @schema_reflection.version(@pool) end