Module: ClickHouse::Extend::Connectible

Included in:
ClickHouse
Defined in:
lib/click_house/extend/connectible.rb

Instance Method Summary collapse

Instance Method Details

#connectionObject


10
11
12
# File 'lib/click_house/extend/connectible.rb', line 10

def connection
  @connection ||= Connection.new(config.clone)
end

#connection=(connection) ⇒ Object


6
7
8
# File 'lib/click_house/extend/connectible.rb', line 6

def connection=(connection)
  @connection = connection
end