ClickHouse.Query (ClickHouse v0.13.1) View Source

A ClickHouse query.

Link to this section Summary

Types

The type of command being exectued in the query.

t()

A ClickHouse query

Functions

Prepares a new ClickHouse query.

Link to this section Types

Specs

command() :: :create | :select | :insert | :alter | :unknown

The type of command being exectued in the query.

Specs

t() :: %ClickHouse.Query{
  command: command(),
  format: ClickHouse.Format.t() | nil,
  statement: iolist()
}

A ClickHouse query

Link to this section Functions

Link to this function

prepare(client, statement, params \\ [])

View Source

Specs

Prepares a new ClickHouse query.