mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08: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:
parent
ec2aa3819c
commit
763d4514fa
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue