ClickHouse.Format behaviour (ClickHouse v0.18.0) View Source
A behaviour to implement encoding and decoding of ClickHouse queries and results.
Link to this section Summary
Callbacks
A callback to decode columns and data with the format.
A callback to encode query parameters 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(raw :: iodata()) :: {ClickHouse.Result.columns(), ClickHouse.Result.data()}
A callback to decode columns and data with the format.
Specs
A callback to encode query parameters with the format.
Specs
names() :: [name()]
A callback to return the names used for the format.