class method
self.dbconsole
Ruby on Rails 8.1.2
Since v7.1.6Signature
self.dbconsole(config, options = {})
Opens a database console session.
Parameters
-
configreq -
optionsopt = {}
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