Convert Case

Convert string case.

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

Options

Columns

Columns that will be transformed. If empty, the transformation is applied to all columns.

Type

Default value

array

[]

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

Mode

The mode of the conversion. It can be lower/lowercase, upper/uppercase or title

Type

Default value

string

lower

$options = ['mode' => 'upper'];

Encoding

The character encoding.

Type

Default value

string

utf-8

$options = ['encoding' => 'ASCII'];

Last updated