@graffy/clickhouse 0.18.1-alpha.1 → 0.18.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +1 -1
- package/index.mjs +1 -1
- package/package.json +2 -2
package/index.cjs
CHANGED
|
@@ -615,7 +615,7 @@ class Db {
|
|
|
615
615
|
if (!rows.length) return;
|
|
616
616
|
try {
|
|
617
617
|
await this.client.insert({
|
|
618
|
-
table: `${tableOptions.database || "default"}.${tableOptions.table}`,
|
|
618
|
+
table: `${quoteIdent(tableOptions.database || "default")}.${quoteIdent(tableOptions.table)}`,
|
|
619
619
|
values: rows,
|
|
620
620
|
format: "JSONEachRow"
|
|
621
621
|
});
|
package/index.mjs
CHANGED
|
@@ -613,7 +613,7 @@ class Db {
|
|
|
613
613
|
if (!rows.length) return;
|
|
614
614
|
try {
|
|
615
615
|
await this.client.insert({
|
|
616
|
-
table: `${tableOptions.database || "default"}.${tableOptions.table}`,
|
|
616
|
+
table: `${quoteIdent(tableOptions.database || "default")}.${quoteIdent(tableOptions.table)}`,
|
|
617
617
|
values: rows,
|
|
618
618
|
format: "JSONEachRow"
|
|
619
619
|
});
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graffy/clickhouse",
|
|
3
3
|
"description": "Graffy provider for ClickHouse.",
|
|
4
4
|
"author": "aravind (https://github.com/aravindet)",
|
|
5
|
-
"version": "0.18.1-alpha.
|
|
5
|
+
"version": "0.18.1-alpha.2",
|
|
6
6
|
"main": "./index.cjs",
|
|
7
7
|
"exports": {
|
|
8
8
|
"import": "./index.mjs",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@graffy/common": "0.18.1-alpha.
|
|
19
|
+
"@graffy/common": "0.18.1-alpha.2"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@clickhouse/client": "^1.17.0"
|