We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f7db3a commit 5da919bCopy full SHA for 5da919b
1 file changed
postgresql.js
@@ -253,8 +253,8 @@ module.exports = function (RED) {
253
const msg2 = Object.assign({}, msg, {
254
payload: (node.rowsPerMsg || 1) > 1 ? rows : rows[0],
255
pgsql: {
256
- command: result.command,
257
- rowCount: result.rowCount,
+ command: result ? result.command : undefined,
+ rowCount: result ? result.rowCount : undefined,
258
},
259
parts: {
260
id: partsId,
0 commit comments