@clickhouse/client 0.0.12
New features
ResultSet.query_idcontains a unique query identifier that might be useful for retrieving query metrics fromsystem.query_logUser-AgentHTTP 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 beclickhouse-js/0.0.12 (lv:nodejs/19.0.4; os:linux). IfClickHouseClientConfigOptions.applicationis set, it will be prepended to the generatedUser-Agent.- Run tests on
nodejs@v19
Breaking changes
client.insertnow returns{ query_id: string }instead ofvoidclient.execnow returns{ stream: Stream.Readable, query_id: string }instead of justStream.Readable