Class: Hanami::Model::Sql::Consoles::Sqlite Private

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

SQLite 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

'sqlite3'.freeze

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


19
20
21
# File 'lib/hanami/model/sql/consoles/sqlite.rb', line 19

def connection_string
  concat(command, ' ', host, database)
end