36 parent::__construct($column->attrs->name);
39 $this->name = $dbParser->parseColumnName($this->name);
41 if($column->attrs->var)
47 if(strpos($column->attrs->default,
'.') !== FALSE)
49 $this->default_value =
"'" . $dbParser->parseColumnName($column->attrs->default) .
"'";
64 $this->default_value =
'"\'".' . $this->default_value .
'."\'"';
68 $this->default_value =
'"' . $this->default_value .
'"';
84 return sprintf(
'new UpdateExpression(\'%s\', ${\'%s_argument\'})'
86 , $this->argument->argument_name);
90 return sprintf(
'new UpdateExpressionWithoutArgument(\'%s\', %s)'
92 , $this->default_value);