Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 633 Bytes

UniqueRows.md

File metadata and controls

34 lines (23 loc) · 633 Bytes

Unique Rows

Remove duplicate rows from the input stream.

/** @var \Wizaplace\Etl\Transformers\UniqueRows $transformer */
$etl->transform($transformer, $options);

Options

Columns

Columns used in the row comparison. If empty, all columns will be used.

Type Default value
array []
$options = [UniqueRows::COLUMNS => ['name', 'email']];

Consecutive

Indicates if only consecutive duplicates will be removed.

Type Default value
bool false
$options = [UniqueRows::CONSECUTIVE => true];