Clickhouse.Query (Clickhouse v0.2.1) View Source

A Clickhouse query.

Link to this section Summary

Link to this section Types

Specs

params() :: list()

Specs

statement() :: binary()

Specs

t() :: %Clickhouse.Query{
  __format__: term(),
  __interface__: term(),
  __name__: term(),
  __statement__: term(),
  params: term(),
  params_count: term(),
  statement: term(),
  type: term()
}

Link to this section Functions

Specs

get_statement(t()) :: binary()
Link to this function

new(name, interface, statement, params \\ [])

View Source

Specs

new(Clickhouse.name(), Clickhouse.Interface.t(), statement(), params()) :: t()
Link to this function

put_statement(query, statement)

View Source

Specs

put_statement(t(), binary()) :: t()