@malloydata/db-duckdb 0.0.13 → 0.0.14-dev221207234712
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/dist/duckdb_common.js
CHANGED
|
@@ -249,7 +249,7 @@ class DuckDBCommon {
|
|
|
249
249
|
},
|
|
250
250
|
fields: [],
|
|
251
251
|
};
|
|
252
|
-
const quotedTablePath = tablePath.match(
|
|
252
|
+
const quotedTablePath = tablePath.match(/[:*/]/)
|
|
253
253
|
? `'${tablePath}'`
|
|
254
254
|
: tablePath;
|
|
255
255
|
const infoQuery = `DESCRIBE SELECT * FROM ${quotedTablePath}`;
|
|
@@ -40,7 +40,7 @@ const crypto = __importStar(require("crypto"));
|
|
|
40
40
|
const duckdb_common_1 = require("./duckdb_common");
|
|
41
41
|
const duckdb_1 = require("duckdb");
|
|
42
42
|
class DuckDBConnection extends duckdb_common_1.DuckDBCommon {
|
|
43
|
-
constructor(name, databasePath = "
|
|
43
|
+
constructor(name, databasePath = ":memory:", workingDirectory = ".", queryOptions) {
|
|
44
44
|
super(queryOptions);
|
|
45
45
|
this.name = name;
|
|
46
46
|
this.workingDirectory = workingDirectory;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-duckdb",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14-dev221207234712",
|
|
4
4
|
"license": "GPL-2.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@duckdb/duckdb-wasm": "^1.17.0",
|
|
22
|
-
"@malloydata/malloy": "^0.0.
|
|
23
|
-
"duckdb": "0.
|
|
22
|
+
"@malloydata/malloy": "^0.0.14-dev221207234712",
|
|
23
|
+
"duckdb": "0.6.1"
|
|
24
24
|
}
|
|
25
25
|
}
|