@clickhouse/client
Advanced tools
Changelog
0.0.14
JSONStrings
, JSONCompact
, JSONCompactStrings
, JSONColumnsWithMetadata
formats (@andrewzolotukhin).Changelog
0.0.13
query_id
can be now overridden for all main client's methods: query
, exec
, insert
.Changelog
0.0.12
ResultSet.query_id
contains a unique query identifier that might be useful for retrieving query metrics from system.query_log
User-Agent
HTTP header is set according to the language client spec.
For example, for client version 0.0.12 and Node.js runtime v19.0.4 on Linux platform, it will be clickhouse-js/0.0.12 (lv:nodejs/19.0.4; os:linux)
.
If ClickHouseClientConfigOptions.application
is set, it will be prepended to the generated User-Agent
.client.insert
now returns { query_id: string }
instead of void
client.exec
now returns { stream: Stream.Readable, query_id: string }
instead of just Stream.Readable
Changelog
0.0.11, 2022-12-08
log.enabled
flag was removed from the client configuration.CLICKHOUSE_LOG_LEVEL
environment variable instead. Possible values: OFF
, TRACE
, DEBUG
, INFO
, WARN
, ERROR
.
Currently, there are only debug messages, but we will log more in the future.For more details, see PR #110
Changelog
0.0.5, 2022-10-04
ResultSet.stream()
yields Row[]
instead of a single Row
.
Please check out an example
and this PR for more details.
These changes allowed us to significantly reduce overhead on select result set streaming.