method

table_info

rails latest stable - Class: ActiveRecord::ConnectionAdapters::SQLite3Adapter

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

table_info(table_name)
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 752
        def table_info(table_name)
          if supports_virtual_columns?
            internal_exec_query("PRAGMA table_xinfo(#{quote_table_name(table_name)})", "SCHEMA")
          else
            internal_exec_query("PRAGMA table_info(#{quote_table_name(table_name)})", "SCHEMA")
          end
        end