Update packages/pg/lib/result.js

Co-authored-by: Charmander <~@charmander.me>
This commit is contained in:
Brian C 2023-09-14 14:44:43 -05:00 committed by GitHub
parent 7d3aee06ca
commit 0bdc6afe64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ class Result {
this._parsers[i] = types.getTypeParser(desc.dataTypeID, desc.format || 'text')
}
}
this._prebuiltEmptyResultObject = row
this._prebuiltEmptyResultObject = { ...row }
}
}