mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
fix(Postgres Node): Node requires comma-separated string even when using a single parameter through an expression (#7300)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -63,7 +63,11 @@ export async function execute(
|
||||
|
||||
let values: Array<IDataObject | string> = [];
|
||||
|
||||
const queryReplacement = this.getNodeParameter('options.queryReplacement', i, '');
|
||||
let queryReplacement = this.getNodeParameter('options.queryReplacement', i, '');
|
||||
|
||||
if (typeof queryReplacement === 'number') {
|
||||
queryReplacement = String(queryReplacement);
|
||||
}
|
||||
|
||||
if (typeof queryReplacement === 'string') {
|
||||
const node = this.getNode();
|
||||
|
||||
Reference in New Issue
Block a user