ClickHouse.Format behaviour (ClickHouse v0.11.0) View Source
A behaviour to implement formatting of ClickHouse queries and results.
Link to this section Summary
Callbacks
A callback to decode results from the format.
A callback to encode queries with the format.
A callback to return the names used for the format.
Link to this section Types
Link to this section Callbacks
Specs
decode(result :: ClickHouse.Result.t()) :: ClickHouse.Result.t()
A callback to decode results from the format.
Specs
encode(query :: ClickHouse.Query.t()) :: ClickHouse.Query.t()
A callback to encode queries with the format.
Specs
names() :: [name()]
A callback to return the names used for the format.