mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +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> = [];
|
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') {
|
if (typeof queryReplacement === 'string') {
|
||||||
const node = this.getNode();
|
const node = this.getNode();
|
||||||
|
|||||||
Reference in New Issue
Block a user