Methods
- A
- C
- M
- N
- P
- S
- T
Attributes
| [RW] | connection | |
| [R] | version |
Class Public methods
new(conn)
Link
Instance Public methods
add(table_name)
Link
Add internal cache for table with table_name.
clear!()
Link
Clears out internal caches
clear_table_cache!(table_name)
Link
Clear out internal caches for table with table_name.
columns(table_name)
Link
Get the columns for a table
columns_hash(table_name)
Link
Get the columns for a table as a hash, key is the column name value is the column object.
marshal_dump()
Link
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 77 def marshal_dump # if we get current version during initialization, it happens stack over flow. @version = ActiveRecord::Migrator.current_version [@version, @columns, @columns_hash, @primary_keys, @tables] end
marshal_load(array)
Link
primary_keys(table_name)
Link
size()
Link