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"

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



21
22
23
# File 'lib/hanami/model/sql/consoles/sqlite.rb', line 21

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