class ActiveRecord::ConnectionAdapters::SchemaCache

def columns(table_name)

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

def columns: (String table_name) -> untyped

This signature was generated using 1 sample from 1 application.

Get the columns for a table
def columns(table_name)
  if ignored_table?(table_name)
    raise ActiveRecord::StatementInvalid, "Table '#{table_name}' doesn't exist"
  end
  @columns.fetch(table_name) do
    @columns[deep_deduplicate(table_name)] = deep_deduplicate(connection.columns(table_name))
  end
end