method

connection

rails latest stable - Class: Rails::DBConsole

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.2.3) is shown here.

connection()
public

No documentation available.

# File railties/lib/rails/commands/dbconsole/dbconsole_command.rb, line 109
    def connection
      @options.fetch(:connection, "primary")
    end