Clickhouse.Result (Clickhouse v0.3.0) View Source

The results of a Clickhouse query.

Link to this section Summary

Link to this section Types

Specs

columns() :: [{name(), type()}, ...] | nil

Specs

data() :: [] | [list(), ...]

Specs

name() :: binary()

Specs

t() :: %Clickhouse.Result{
  __format__: Clickhouse.format(),
  __raw__: binary(),
  columns: columns(),
  data: data()
}

Specs

type() :: atom() | nil

Link to this section Functions

Specs

new(binary(), Clickhouse.format()) :: t()
Link to this function

put_columns(result, columns)

View Source

Specs

put_columns(t(), columns()) :: t()

Specs

put_data(t(), data()) :: t()