From 54333398ceb4ec9f05958c8b97e661ca39a6fe6c Mon Sep 17 00:00:00 2001 From: agobrech <45268029+agobrech@users.noreply.github.com> Date: Thu, 26 Jan 2023 10:24:29 +0100 Subject: [PATCH] docs(Postgres Node): Add a notice for the use of PairedItem with mutliple query mode (#5256) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✨ Add a notice to the postgres execute query about paireditem --- packages/nodes-base/nodes/Postgres/Postgres.node.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Postgres/Postgres.node.ts b/packages/nodes-base/nodes/Postgres/Postgres.node.ts index 52bbfb9b2d..51411fd4ef 100644 --- a/packages/nodes-base/nodes/Postgres/Postgres.node.ts +++ b/packages/nodes-base/nodes/Postgres/Postgres.node.ts @@ -81,7 +81,18 @@ export class Postgres implements INodeType { description: 'The SQL query to execute. You can use n8n expressions or $1 and $2 in conjunction with query parameters.', }, - + { + displayName: + 'Due to the behavior of the Multiple Queries mode, if you want to use the PairedItem feature, you need to use either the independent or the transaction mode under Additional Fields.', + name: 'pairedItemsNotice', + type: 'notice', + displayOptions: { + show: { + operation: ['executeQuery'], + }, + }, + default: '', + }, // ---------------------------------- // insert // ----------------------------------