public function addUpdateColumnValues(array $columnNamesToValues) : self
    {
        $this->duplicateKeyUpdateColumnNamesToValues = array_merge(
            $this->duplicateKeyUpdateColumnNamesToValues,
            $columnNamesToValues
        );

        return $this;
    }
public function addUpdateColumnValues(array $columnNamesToValues) : self
    {
        $this->duplicateKeyUpdateColumnNamesToValues = array_merge(
            $this->duplicateKeyUpdateColumnNamesToValues,
            $columnNamesToValues
        );

        return $this;
    }
public function addUpdateColumnValues ( array $ columnNamesToValues ) : self { $ this -> duplicateKeyUpdateColumnNamesToValues = array_merge ( $ this -> duplicateKeyUpdateColumnNamesToValues , $ columnNamesToValues ) ; return $ this ; }
Adds columns to update in the case a row already exists in the table

@param array $columnNamesToValues The mapping of column names to their respective values in the case of an
"ON DUPLICATE KEY UPDATE" clause
@return self For method chaining
Adds columns to update in the case a row already exists in the table