triangle-utils 1.4.155 → 1.4.156
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 +12 -4
- package/package.json +1 -1
- package/src/UtilsRDS.ts +12 -4
package/dist/src/UtilsRDS.js
CHANGED
|
@@ -154,7 +154,9 @@ export class UtilsRDS {
|
|
|
154
154
|
}
|
|
155
155
|
catch (error) {
|
|
156
156
|
console.log(error.stack);
|
|
157
|
-
|
|
157
|
+
if (options.is_verbose) {
|
|
158
|
+
console.log(sql);
|
|
159
|
+
}
|
|
158
160
|
return;
|
|
159
161
|
}
|
|
160
162
|
}
|
|
@@ -171,7 +173,9 @@ export class UtilsRDS {
|
|
|
171
173
|
}
|
|
172
174
|
catch (error) {
|
|
173
175
|
console.log(error.stack);
|
|
174
|
-
|
|
176
|
+
if (options.is_verbose) {
|
|
177
|
+
console.log(sql);
|
|
178
|
+
}
|
|
175
179
|
return;
|
|
176
180
|
}
|
|
177
181
|
}
|
|
@@ -185,7 +189,9 @@ export class UtilsRDS {
|
|
|
185
189
|
}
|
|
186
190
|
catch (error) {
|
|
187
191
|
console.log(error.stack);
|
|
188
|
-
|
|
192
|
+
if (options.is_verbose) {
|
|
193
|
+
console.log(sql);
|
|
194
|
+
}
|
|
189
195
|
return;
|
|
190
196
|
}
|
|
191
197
|
}
|
|
@@ -202,7 +208,9 @@ export class UtilsRDS {
|
|
|
202
208
|
}
|
|
203
209
|
catch (error) {
|
|
204
210
|
console.log(error.stack);
|
|
205
|
-
|
|
211
|
+
if (options.is_verbose) {
|
|
212
|
+
console.log(sql);
|
|
213
|
+
}
|
|
206
214
|
return;
|
|
207
215
|
}
|
|
208
216
|
}
|
package/package.json
CHANGED
package/src/UtilsRDS.ts
CHANGED
|
@@ -212,7 +212,9 @@ export class UtilsRDS {
|
|
|
212
212
|
return items
|
|
213
213
|
} catch (error : any) {
|
|
214
214
|
console.log(error.stack)
|
|
215
|
-
|
|
215
|
+
if (options.is_verbose) {
|
|
216
|
+
console.log(sql)
|
|
217
|
+
}
|
|
216
218
|
return
|
|
217
219
|
}
|
|
218
220
|
}
|
|
@@ -237,7 +239,9 @@ export class UtilsRDS {
|
|
|
237
239
|
await this.exec(sql, options)
|
|
238
240
|
} catch (error : any) {
|
|
239
241
|
console.log(error.stack)
|
|
240
|
-
|
|
242
|
+
if (options.is_verbose) {
|
|
243
|
+
console.log(sql)
|
|
244
|
+
}
|
|
241
245
|
return
|
|
242
246
|
}
|
|
243
247
|
}
|
|
@@ -258,7 +262,9 @@ export class UtilsRDS {
|
|
|
258
262
|
return items
|
|
259
263
|
} catch (error : any) {
|
|
260
264
|
console.log(error.stack)
|
|
261
|
-
|
|
265
|
+
if (options.is_verbose) {
|
|
266
|
+
console.log(sql)
|
|
267
|
+
}
|
|
262
268
|
return
|
|
263
269
|
}
|
|
264
270
|
}
|
|
@@ -283,7 +289,9 @@ export class UtilsRDS {
|
|
|
283
289
|
await this.exec(sql, options)
|
|
284
290
|
} catch (error : any) {
|
|
285
291
|
console.log(error.stack)
|
|
286
|
-
|
|
292
|
+
if (options.is_verbose) {
|
|
293
|
+
console.log(sql)
|
|
294
|
+
}
|
|
287
295
|
return
|
|
288
296
|
}
|
|
289
297
|
}
|