ClickHouse.Query (ClickHouse v0.12.1) View Source
A ClickHouse query.
Link to this section Summary
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{ client: ClickHouse.client(), command: command(), encoded: iodata() | nil, format: ClickHouse.Format.t() | nil, interface: ClickHouse.Interface.t() | nil, opts: term(), params: ClickHouse.params(), params_count: non_neg_integer(), statement: ClickHouse.statement() }
A ClickHouse query
Link to this section Functions
Specs
Encodes a ClickHouse query.
Specs
new(ClickHouse.client(), ClickHouse.statement(), ClickHouse.params(), keyword()) :: t()
Creates a new ClickHouse query.