triangle-utils 1.4.137 → 1.4.138
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/src/UtilsRDS.js +4 -4
- package/package.json +1 -1
- package/src/UtilsRDS.ts +4 -4
package/dist/src/UtilsRDS.js
CHANGED
|
@@ -97,10 +97,10 @@ export class UtilsRDS {
|
|
|
97
97
|
sql: sql,
|
|
98
98
|
includeResultMetadata: true
|
|
99
99
|
})
|
|
100
|
-
.then(response => {
|
|
101
|
-
console.log(JSON.stringify(response, undefined, 4))
|
|
102
|
-
return response
|
|
103
|
-
|
|
100
|
+
// .then(response => {
|
|
101
|
+
// console.log(JSON.stringify(response, undefined, 4))
|
|
102
|
+
// return response
|
|
103
|
+
// })
|
|
104
104
|
.then(response => (response.records || [])
|
|
105
105
|
.map((item) => Object.fromEntries((response.columnMetadata || [])
|
|
106
106
|
.map((column, i) => [column.name || "", column.typeName === "numeric" ? Number(convert_rds_output(item[i])) : convert_rds_output(item[i])])
|
package/package.json
CHANGED
package/src/UtilsRDS.ts
CHANGED
|
@@ -115,10 +115,10 @@ export class UtilsRDS {
|
|
|
115
115
|
sql : sql,
|
|
116
116
|
includeResultMetadata : true
|
|
117
117
|
})
|
|
118
|
-
.then(response => {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
})
|
|
118
|
+
// .then(response => {
|
|
119
|
+
// console.log(JSON.stringify(response, undefined, 4))
|
|
120
|
+
// return response
|
|
121
|
+
// })
|
|
122
122
|
.then(response => (response.records || [])
|
|
123
123
|
.map((item : any) => Object.fromEntries((response.columnMetadata || [])
|
|
124
124
|
.map((column, i) => [column.name || "", column.typeName === "numeric" ? Number(convert_rds_output(item[i])) : convert_rds_output(item[i])])
|