命名空間
方法
- A
- C
- D
- I
- L
- N
- P
- S
- V
類別公開方法
new(abstract_schema_reflection, pool) 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 160 def initialize(abstract_schema_reflection, pool) @schema_reflection = abstract_schema_reflection @pool = pool end
實例公開方法
add(name) 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 185 def add(name) @schema_reflection.add(@pool, name) end
已快取?(table_name) 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 173 def cached?(table_name) @schema_reflection.cached?(table_name) end
清除!() 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 165 def clear! @schema_reflection.clear! end
清除資料來源快取!(name) 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 217 def clear_data_source_cache!(name) @schema_reflection.clear_data_source_cache!(@pool, name) end
欄位(table_name) 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 193 def columns(table_name) @schema_reflection.columns(@pool, table_name) end
欄位雜湊(table_name) 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 197 def columns_hash(table_name) @schema_reflection.columns_hash(@pool, table_name) end
有欄位雜湊?(table_name) 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 201 def columns_hash?(table_name) @schema_reflection.columns_hash?(@pool, table_name) end
資料來源存在?(name) 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 181 def data_source_exists?(name) @schema_reflection.data_source_exists?(@pool, name) end
資料來源(name) 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 189 def data_sources(name) @schema_reflection.data_sources(@pool, name) end
傾印到(filename) 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 221 def dump_to(filename) @schema_reflection.dump_to(@pool, filename) end
索引(table_name) 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 205 def indexes(table_name) @schema_reflection.indexes(@pool, table_name) end
載入!() 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 169 def load! @schema_reflection.load!(@pool) end
主鍵(table_name) 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 177 def primary_keys(table_name) @schema_reflection.primary_keys(@pool, table_name) end
大小() 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 213 def size @schema_reflection.size(@pool) end
版本() 連結
來源:顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 209 def version @schema_reflection.version(@pool) end