projects
/
squeep-db-helper
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f06f72f
)
fix multiResult scrub, now mogrifies argument
author
Justin Wind
<justin.wind+git@gmail.com>
Mon, 7 Apr 2025 20:13:22 +0000
(13:13 -0700)
committer
Justin Wind
<justin.wind+git@gmail.com>
Mon, 7 Apr 2025 20:13:22 +0000
(13:13 -0700)
lib/postgres-creator.js
patch
|
blob
|
history
diff --git
a/lib/postgres-creator.js
b/lib/postgres-creator.js
index 34e28b1f32a94dc5112f5fb7f133f9f5eab623f7..dc0ee93e702c11773e902e63e53a02ff18d6a4f5 100644
(file)
--- a/
lib/postgres-creator.js
+++ b/
lib/postgres-creator.js
@@
-78,11
+78,10
@@
const PostgresCreator = (Abstract) => {
* @returns {object[]} scrubbed results
*/
static _multiResultLog(results) {
- const logResults = structuredClone(results);
- for (const result of logResults) {
+ for (const result of results) {
delete result._types;
}
- return
logR
esults;
+ return
r
esults;
}