if ($operation['operator'
] === 'set' &&
$columnInfo[ucfirst($prefix) .
ucfirst($column)]['nullable'
] &&
$operation['value'
] == ''
) { $operationValue = 'NULL';
} else { $operationValue =
$builder->
expr()->
literal( // Limiting the value length to prevent possible parsing errors
substr($operation['value'
], 0, self::MAX_VALUE_LENGTH
) );
} switch (strtolower($operation['operator'
])) { case 'removestring':
$builder->
set("{
$prefix}.
$column",
new Literal(["REPLACE({
$prefix}.{
$column},
$operationValue, '')"
]));
break;
case 'divide':
case 'devide':
$builder->
set("{
$prefix}.
$column",
$builder->
expr()->
quot("{
$prefix}.
$column",
$operationValue));
break;
case 'multiply':
$builder->
set("{
$prefix}.
$column",
$builder->
expr()->
prod("{
$prefix}.
$column",
$operationValue));
break;