instance method
columns_hash?
Ruby on Rails 8.0.4
Since v6.0.6Signature
columns_hash?(_pool, table_name)
Checks whether the columns hash is already cached for a table.
Parameters
-
_poolreq -
table_namereq
Source
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 359
def columns_hash?(_pool, table_name)
@columns_hash.key?(table_name)
end
Defined in activerecord/lib/active_record/connection_adapters/schema_cache.rb line 359
· View on GitHub
· Improve this page
· Find usages on GitHub