@malloydata/db-postgres 0.0.63-dev230727220611 → 0.0.63-dev230731163034

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.
@@ -1,4 +1,4 @@
1
- import { Connection, MalloyQueryData, PersistSQLResults, PooledConnection, QueryData, QueryDataRow, QueryRunStats, RunSQLOptions, SQLBlock, StreamingConnection, StructDef } from '@malloydata/malloy';
1
+ import { Connection, DialectProviderConnection, MalloyQueryData, PersistSQLResults, PooledConnection, QueryData, QueryDataRow, QueryRunStats, RunSQLOptions, SQLBlock, StreamingConnection, StructDef } from '@malloydata/malloy';
2
2
  import { Client } from 'pg';
3
3
  interface PostgresQueryConfiguration {
4
4
  rowLimit?: number;
@@ -26,6 +26,7 @@ export declare class PostgresConnection implements Connection, StreamingConnecti
26
26
  isPool(): this is PooledConnection;
27
27
  canPersist(): this is PersistSQLResults;
28
28
  canStream(): this is StreamingConnection;
29
+ providesDialect(): this is DialectProviderConnection;
29
30
  fetchSchemaForTables(missing: Record<string, string>): Promise<{
30
31
  schemas: Record<string, StructDef>;
31
32
  errors: Record<string, string>;
@@ -122,6 +122,9 @@ class PostgresConnection {
122
122
  canStream() {
123
123
  return true;
124
124
  }
125
+ providesDialect() {
126
+ return false;
127
+ }
125
128
  async fetchSchemaForTables(missing) {
126
129
  const schemas = {};
127
130
  const errors = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/db-postgres",
3
- "version": "0.0.63-dev230727220611",
3
+ "version": "0.0.63-dev230731163034",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "prepublishOnly": "npm run build"
20
20
  },
21
21
  "dependencies": {
22
- "@malloydata/malloy": "^0.0.63-dev230727220611",
22
+ "@malloydata/malloy": "^0.0.63-dev230731163034",
23
23
  "@types/pg": "^8.6.1",
24
24
  "pg": "^8.7.1",
25
25
  "pg-query-stream": "4.2.3"