@malloydata/db-duckdb 0.0.165-dev240813195925 → 0.0.165-dev240813215606
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.d.ts +2 -1
- package/dist/duckdb_common.js +3 -1
- package/package.json +2 -2
package/dist/duckdb_common.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { FetchSchemaOptions, MalloyQueryData, PersistSQLResults, PooledConnection, QueryDataRow, QueryOptionsReader, QueryRunStats, RunSQLOptions, SQLBlock, StreamingConnection, StructDef, TestableConnection } from '@malloydata/malloy';
|
|
2
|
+
import { BaseConnection } from '@malloydata/malloy/connection';
|
|
2
3
|
export interface DuckDBQueryOptions {
|
|
3
4
|
rowLimit: number;
|
|
4
5
|
}
|
|
5
|
-
export declare abstract class DuckDBCommon implements TestableConnection, PersistSQLResults, StreamingConnection {
|
|
6
|
+
export declare abstract class DuckDBCommon extends BaseConnection implements TestableConnection, PersistSQLResults, StreamingConnection {
|
|
6
7
|
protected queryOptions?: QueryOptionsReader | undefined;
|
|
7
8
|
protected isMotherDuck: boolean;
|
|
8
9
|
protected motherDuckToken: string | undefined;
|
package/dist/duckdb_common.js
CHANGED
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.DuckDBCommon = void 0;
|
|
26
26
|
const malloy_1 = require("@malloydata/malloy");
|
|
27
|
+
const connection_1 = require("@malloydata/malloy/connection");
|
|
27
28
|
const unquoteName = (name) => {
|
|
28
29
|
const match = /^"(.*)"$/.exec(name);
|
|
29
30
|
if (match) {
|
|
@@ -31,7 +32,7 @@ const unquoteName = (name) => {
|
|
|
31
32
|
}
|
|
32
33
|
return name;
|
|
33
34
|
};
|
|
34
|
-
class DuckDBCommon {
|
|
35
|
+
class DuckDBCommon extends connection_1.BaseConnection {
|
|
35
36
|
get dialectName() {
|
|
36
37
|
return 'duckdb';
|
|
37
38
|
}
|
|
@@ -50,6 +51,7 @@ class DuckDBCommon {
|
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
constructor(queryOptions) {
|
|
54
|
+
super();
|
|
53
55
|
this.queryOptions = queryOptions;
|
|
54
56
|
this.isMotherDuck = false;
|
|
55
57
|
this.dialect = new malloy_1.DuckDBDialect();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-duckdb",
|
|
3
|
-
"version": "0.0.165-
|
|
3
|
+
"version": "0.0.165-dev240813215606",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@duckdb/duckdb-wasm": "1.28.1-dev215.0",
|
|
44
|
-
"@malloydata/malloy": "^0.0.165-
|
|
44
|
+
"@malloydata/malloy": "^0.0.165-dev240813215606",
|
|
45
45
|
"@motherduck/wasm-client": "^0.6.1",
|
|
46
46
|
"apache-arrow": "^15.0.2",
|
|
47
47
|
"duckdb": "1.0.0",
|