class ActiveRecord::ConnectionAdapters::SchemaCache

def columns_hash(table_name)

Experimental RBS support (using type sampling data from the type_fusion project).

def columns_hash: (String table_name) -> untyped

This signature was generated using 1 sample from 1 application.

value is the column object.
Get the columns for a table as a hash, key is the column name
def columns_hash(table_name)
  @columns_hash.fetch(table_name) do
    @columns_hash[deep_deduplicate(table_name)] = columns(table_name).index_by(&:name).freeze
  end
end