clickhouse-ts
Advanced tools
Comparing version 1.4.4 to 1.4.5
@@ -12,3 +12,3 @@ { | ||
], | ||
"version": "1.4.4", | ||
"version": "1.4.5", | ||
"license": "ISC", | ||
@@ -15,0 +15,0 @@ "description": "Clickhouse client on TypeScript using redis caching queries", |
import sqlstring from 'sqlstring' | ||
import { Redis } from 'ioredis' | ||
import { isObject } from 'lodash' | ||
import { isNull, isObject } from 'lodash' | ||
import { ClickhouseHttpClient } from '../httpClient/ClickhouseHttpClient' | ||
@@ -103,2 +103,9 @@ import { ClickhouseNamespace } from './interface' | ||
/** | ||
* is Null | ||
*/ | ||
if (isNull(rowValue)) { | ||
return sqlstring.escape('NULL') | ||
} | ||
throw new PreprocessInsertQueryError('Unknown type of row: ' + rowValue) | ||
@@ -105,0 +112,0 @@ } |
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
69800
1399