Rename Columns

Rename columns.

$etl->transform('rename_columns', $options);

Options

Columns (required)

Columns that will be transformed. The key is the old name and the value is the new column name.

Type

Default value

array

[]

$options = ['columns' => [
    'email_address' => 'email',
]];

Last updated