clickhouse-ts
Advanced tools
Comparing version 1.3.9 to 1.3.10
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130
66340