@malloydata/db-postgres 0.0.220-dev241205013400 → 0.0.220-dev241205235613
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.
|
@@ -176,14 +176,7 @@ class PostgresConnection extends connection_1.BaseConnection {
|
|
|
176
176
|
const name = row['column_name'];
|
|
177
177
|
if (postgresDataType === 'ARRAY') {
|
|
178
178
|
const elementType = this.dialect.sqlTypeToMalloyType(row['element_type']);
|
|
179
|
-
structDef.fields.push(
|
|
180
|
-
type: 'array',
|
|
181
|
-
elementTypeDef: elementType,
|
|
182
|
-
name,
|
|
183
|
-
dialect: this.dialectName,
|
|
184
|
-
join: 'many',
|
|
185
|
-
fields: (0, malloy_1.arrayEachFields)(elementType),
|
|
186
|
-
});
|
|
179
|
+
structDef.fields.push((0, malloy_1.mkArrayDef)(elementType, name, this.dialectName));
|
|
187
180
|
}
|
|
188
181
|
else {
|
|
189
182
|
const malloyType = this.dialect.sqlTypeToMalloyType(postgresDataType);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-postgres",
|
|
3
|
-
"version": "0.0.220-
|
|
3
|
+
"version": "0.0.220-dev241205235613",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"prepublishOnly": "npm run build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@malloydata/malloy": "^0.0.220-
|
|
25
|
+
"@malloydata/malloy": "^0.0.220-dev241205235613",
|
|
26
26
|
"@types/pg": "^8.6.1",
|
|
27
27
|
"pg": "^8.7.1",
|
|
28
28
|
"pg-query-stream": "4.2.3"
|