From bdcadc3e4fab66909f20b4070f7d8fb0e714bf49 Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Thu, 23 Jan 2025 23:52:29 -0300 Subject: [PATCH] Updated Import (markdown) --- Import.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Import.md b/Import.md index c4d08c5..d235e27 100644 --- a/Import.md +++ b/Import.md @@ -210,6 +210,28 @@ mapping: replacement: "" ``` +### deduplication (required) + +Currently there's only one deduplication rule type: + +#### compare + +A `compare` deduplication rule compares the mapped row to a existing transactions. + +`compare` can have a `match_type` of `lax`, for case-insensitive comparison or `strict` for case-sensitiveness. + +Lastly, use `fields` to name what to compare against (use the target naming). + +#### Example + +```yaml +deduplication: + - type: compare + fields: + - internal_id + - name + match_type: strict +``` ## New versions