We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df0f4d1 commit fcc6488Copy full SHA for fcc6488
packages/pg/lib/result.js
@@ -61,14 +61,14 @@ class Result {
61
}
62
63
parseRow(rowData) {
64
- var row = { ...this._prebuiltEmptyResultObject }
+ var row = {}
65
for (var i = 0, len = rowData.length; i < len; i++) {
66
var rawValue = rowData[i]
67
var field = this.fields[i].name
68
if (rawValue !== null) {
69
- row[field] = this._parsers[i](rawValue)
+ row[`${this.fields[i].tableID}.${field}`] = this._parsers[i](rawValue)
70
} else {
71
- row[field] = null
+ row[`${this.fields[i].tableID}.${field}`] = null
72
73
74
return row
0 commit comments