Skip to content
Vic Shóstak edited this page Jun 19, 2023 · 2 revisions

In this section, you will find answers to the most frequent questions about the csv2api parser.

How does the filter_columns section work in the config?

To understand how the section works, imagine a common logical condition: if all the specified data in the specified columns of the CSV file satisfy the condition, then the filtering is successful.

For example:

# ...filter_columns:
- column_name: order_idcondition: NEQvalue: ''
- column_name: is_paidcondition: EQvalue: '1'

This filter will work if and only if:

  • The column with the name order_id will have a non-empty value;
  • AND
  • The column named is_paid will contain the value '1'.

Clone this wiki locally