instance method drop_virtual_table

Ruby on Rails 8.0.4

Since v8.0.4

Available in: v8.0.4 v8.1.2

Signature

drop_virtual_table(table_name, module_name, values, **options)

Drops a virtual table

Although this command ignores module_name and values, it can be helpful to provide these in a migration’s change method so it can be reverted. In that case, module_name, values and options will be used by #create_virtual_table.

Parameters

table_name req
module_name req
values req
options keyrest
Source
# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 322
      def drop_virtual_table(table_name, module_name, values, **options)
        drop_table(table_name)
      end

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

Defined in ActiveRecord::ConnectionAdapters::SQLite3Adapter

Type at least 2 characters to search.

↑↓ navigate · open · esc close