mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-01 10:31:44 +02:00
Updated Import (markdown)
+22
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user