public function setExpr($context, $expr, $args) { $prefix = ''; if ($this->first) { $this->first = false; $prefix = 'SET '; } else { $prefix = ','; } $context->appendSql("{$prefix}{$expr}", $prefix == 'SET '); $context->appendParams($args); }