triangle-utils 1.4.154 → 1.4.155
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 +0 -1
- package/package.json +1 -1
- package/src/UtilsRDS.ts +0 -1
package/dist/src/UtilsRDS.js
CHANGED
|
@@ -168,7 +168,6 @@ export class UtilsRDS {
|
|
|
168
168
|
const sql = "INSERT INTO " + table_id + " (" + attribute_names.join(", ") + ")" + " VALUES " + items.slice(i, i + batch_num_items).map(item => "(" + attribute_names.map(attribute_name => convert_rds_input(item[attribute_name])).join(", ") + ")").join(", ") + " ON CONFLICT ON CONSTRAINT " + table_id + "_pkey DO NOTHING;";
|
|
169
169
|
try {
|
|
170
170
|
await this.exec(sql, options);
|
|
171
|
-
return;
|
|
172
171
|
}
|
|
173
172
|
catch (error) {
|
|
174
173
|
console.log(error.stack);
|
package/package.json
CHANGED
package/src/UtilsRDS.ts
CHANGED
|
@@ -235,7 +235,6 @@ export class UtilsRDS {
|
|
|
235
235
|
const sql = "INSERT INTO " + table_id + " (" + attribute_names.join(", ") + ")" + " VALUES " + items.slice(i, i + batch_num_items).map(item => "(" + attribute_names.map(attribute_name => convert_rds_input(item[attribute_name])).join(", ") + ")").join(", ") + " ON CONFLICT ON CONSTRAINT " + table_id + "_pkey DO NOTHING;"
|
|
236
236
|
try {
|
|
237
237
|
await this.exec(sql, options)
|
|
238
|
-
return
|
|
239
238
|
} catch (error : any) {
|
|
240
239
|
console.log(error.stack)
|
|
241
240
|
console.log(sql)
|