feat(Compare Datasets Node): Fuzzy compare option

This commit is contained in:
Michael Kret
2023-01-04 14:37:54 +02:00
committed by GitHub
parent 54126b2c87
commit 9615253155
4 changed files with 244 additions and 14 deletions

View File

@@ -18,6 +18,13 @@ export class CompareDatasets implements INodeType {
outputs: ['main', 'main', 'main', 'main'],
outputNames: ['In A only', 'Same', 'Different', 'In B only'],
properties: [
{
displayName:
'Items from different branches are paired together when the fields below match. If paired, the rest of the fields are compared to determine whether the items are the same or different',
name: 'infoBox',
type: 'notice',
default: '',
},
{
displayName: 'Fields to Match',
name: 'mergeByFields',
@@ -132,6 +139,14 @@ export class CompareDatasets implements INodeType {
description:
"Fields that shouldn't be included when checking whether two items are the same",
},
{
displayName: 'Fuzzy Compare',
name: 'fuzzyCompare',
type: 'boolean',
default: false,
description:
"Whether to tolerate small type differences when comparing fields. E.g. the number 3 and the string '3' are treated as the same.",
},
{
displayName: 'Disable Dot Notation',
name: 'disableDotNotation',