clickhouse-ts
Advanced tools
Comparing version 1.5.5 to 1.5.6
@@ -109,3 +109,3 @@ "use strict"; | ||
if (typeof fixedRowValue === 'number') { | ||
return rowValue; | ||
return fixedRowValue; | ||
} | ||
@@ -116,3 +116,3 @@ /** | ||
if (typeof fixedRowValue === 'string') { | ||
return sqlstring_1.default.escape(rowValue); | ||
return sqlstring_1.default.escape(fixedRowValue); | ||
} | ||
@@ -119,0 +119,0 @@ /** |
@@ -12,3 +12,3 @@ { | ||
], | ||
"version": "1.5.5", | ||
"version": "1.5.6", | ||
"license": "ISC", | ||
@@ -15,0 +15,0 @@ "description": "Clickhouse client on TypeScript using redis caching queries", |
@@ -114,3 +114,3 @@ import sqlstring from 'sqlstring' | ||
if (typeof fixedRowValue === 'number') { | ||
return rowValue as number | ||
return fixedRowValue as number | ||
} | ||
@@ -122,3 +122,3 @@ | ||
if (typeof fixedRowValue === 'string') { | ||
return sqlstring.escape(rowValue) as string | ||
return sqlstring.escape(fixedRowValue) as string | ||
} | ||
@@ -125,0 +125,0 @@ |
71843