mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(Compare Datasets Node): Fuzzy compare option
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user