class method self.dbconsole

Ruby on Rails 8.1.2

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

self.dbconsole(config, options = {})

Opens a database console session.

Parameters

config req
options opt = {}
Source
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 128
      def self.dbconsole(config, options = {})
        raise NotImplementedError.new("#{self.class} should define `dbconsole` that accepts a db config and options to implement connecting to the db console")
      end

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

Defined in ActiveRecord::ConnectionAdapters::AbstractAdapter

Type at least 2 characters to search.

↑↓ navigate · open · esc close