mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-12 07:42:53 +02:00
Updated Import (markdown)
+22
@@ -210,6 +210,28 @@ mapping:
|
|||||||
replacement: ""
|
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
|
## New versions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user