instance method
fetch_table_options
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
fetch_table_options(tables)
‘SHOW CREATE TABLE` is the only place MySQL reports a table’s options, and it reads one table at a time.
Parameters
-
tablesreq
Source
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 726
def fetch_table_options(tables)
tables.index_with { |table| build_table_options(table, create_table_info(table)) }
end
Defined in activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb line 726
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter