Method: Clickhouse::Connection::Query#execute

Defined in:
lib/clickhouse/connection/query.rb

#execute(query, body = nil) ⇒ Object



9
10
11
12
# File 'lib/clickhouse/connection/query.rb', line 9

def execute(query, body = nil)
  body = post(query, body)
  body.empty? ? true : body
end