Class: Hanami::Model::Sql::Consoles::Mysql Private

Inherits:
Abstract
  • Object
show all
Defined in:
lib/hanami/model/sql/consoles/mysql.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

MySQL adapter

Since:

  • 0.7.0

Constant Summary collapse

COMMAND =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Since:

  • 0.7.0

"mysql"

Instance Method Summary collapse

Methods inherited from Abstract

#initialize

Constructor Details

This class inherits a constructor from Hanami::Model::Sql::Consoles::Abstract

Instance Method Details

#connection_stringObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.7.0



20
21
22
# File 'lib/hanami/model/sql/consoles/mysql.rb', line 20

def connection_string
  concat(command, host, database, port, username, password)
end