Socket
Socket
Sign inDemoInstall

clickhouse-ts

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clickhouse-ts - npm Package Compare versions

Comparing version 1.3.9 to 1.3.10

2

package.json

@@ -9,3 +9,3 @@ {

"files": [ "dist", "src" ],
"version": "1.3.9",
"version": "1.3.10",
"license": "ISC",

@@ -12,0 +12,0 @@ "description": "Clickhouse client on TypeScript using redis caching queries",

@@ -32,15 +32,16 @@ # clickhouse-ts

{
debug: { // debug may be undefined
/* debug may be undefined */
debug: {
mode: true,
/* List of providers to exclude from logging */
exclude: [...providers]
/* List of providers to exclude from logging */
},
cache: { // cache may be undefined
/* cache may be undefined */
cache: {
/* after this time chunk will be completed */
chunkTTLSeconds: 3600,
/* after this time chunk will be completed */
/* interval of checking chunks */
chunkResolverIntervalSeconds: 180,
/* interval of checking chunks */
/* count of rows in one chunk */
chunkSizeLimit: 10_000,
/* count of rows in one chunk */
chunkResolveType: 'events'
/*

@@ -50,9 +51,10 @@ 'events': on completed chunk emits event 'chunk'. You can save rows as you want

*/
chunkResolveType: 'events'
},
defaultResponseFormat: 'JSON',
/*
any clickhouse options
https://clickhouse.tech/docs/en/operations/settings/settings/
*/
clickhouseOptions: {
/*
any clickhouse options
https://clickhouse.tech/docs/en/operations/settings/settings/
*/
send_progress_in_http_headers: '1'

@@ -88,3 +90,6 @@ }

'strings',
[{ date: '2021-01-01', string: 'str1' }, { date: '2021-01-02', string: 'str2' }],
[
{ date: '2021-01-01', string: 'str1' },
{ date: '2021-01-02', string: 'str2' }
],
{

@@ -102,3 +107,3 @@ responseFormat: 'CSVWithNames' // or another format

cached: 2,
chunk: 'strings-1624746778066-4ebdfda07dc6e73a73a3c87490b8ebf0'
chunk: chunkId
}

@@ -110,3 +115,6 @@ */

'strings',
[{ date: '2021-01-01', string: 'str1' }, { date: '2021-01-02', string: 'str2' }],
[
{ date: '2021-01-01', string: 'str1' },
{ date: '2021-01-02', string: 'str2' }
],
{

@@ -113,0 +121,0 @@ responseFormat: 'CSVWithNames' // or another format

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc