clean
Remove fields that don’t appear in the desingated list.
Parameters
| name | Type | Description |
|---|---|---|
| fields | [] string | Fields to keep |
| removeEmpty | bool | Fields with empty values will also be removed |
| storeExtra | string | Field name to store removed fields |
Example
- clean:
fields:
- id
- synonyms