instance method fetch_column_definitions

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

fetch_column_definitions(tables)

No documentation comment.

Parameters

tables req
Source
# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 532
        def fetch_column_definitions(tables)
          structures = table_structures(tables)

          tables.index_with do |table|
            create_table_sql, structure = structure_for(structures, table)

            build_table_structure(structure, split_table_structure_sql(create_table_sql, structure.map { |column| column["name"] }))
          end
        end

Defined in activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb line 532 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::SQLite3Adapter

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close