Пример #1
0
 public function addPropertyValuePair($tableId, Column $column, AbstractExpression $expression)
 {
     $columnMysql = $column->getMysql();
     $table = self::getIdentifier($tableId);
     $name = self::getAbsoluteExpression($table, $columnMysql);
     $this->values[$name] = $expression->getMysql();
     return self::insert($this->columns, $name);
 }
Пример #2
0
 public function addPropertyValuePair($tableId, Column $column, AbstractExpression $expression)
 {
     $name = self::getColumnNameFromExpression($column->getMysql());
     $this->values[$name] = $expression->getMysql();
     return self::insert($this->columns, $name);
 }