Class: Hanami::Model::Sql::Consoles::Postgresql Private

Inherits:
Abstract
  • Object
show all
Defined in:
lib/hanami/model/sql/consoles/postgresql.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.

PostgreSQL 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

"psql"
PASSWORD =

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

"PGPASSWORD"

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



25
26
27
28
# File 'lib/hanami/model/sql/consoles/postgresql.rb', line 25

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