src/Dao/MySql/UpdateMySqlDao.php
protected function getSyntax(TableInterface $table): string
    {
        $mySql = "";
        foreach ($table->get($table::ATTR_COLUMN) as $key => $value) {
            if (null !== $value->getValue()
             || in_array(
                     ColumnInterface::OPT_DEFAULT_NULL,
                     $value->getOption()
                 )) {
                $id = ":" . $key;
                $mySql .= "`" . $key . "`=" . $id . ", ";
                $this->setParam($id, $value->getValue(), $value->getParam());
            }
        }
        return "UPDATE `". $table::NAME. "` " . "SET " . substr($mySql, 0, -2)
             . (($clause = $this->getClause($table)) ? " " . $clause : "")
             . ";";
    }
protected function getSyntax(TableInterface $table): string
    {
        $mySql = "";
        foreach ($table->get($table::ATTR_COLUMN) as $key => $value) {
            if (null !== $value->getValue()
             || in_array(
                     ColumnInterface::OPT_DEFAULT_NULL,
                     $value->getOption()
                 )) {
                $id = ":" . $key;
                $mySql .= "`" . $key . "`=" . $id . ", ";
                $this->setParam($id, $value->getValue(), $value->getParam());
            }
        }
        return "UPDATE `". $table::NAME. "` " . "SET " . substr($mySql, 0, -2)
             . (($clause = $this->getClause($table)) ? " " . $clause : "")
             . ";";
    }
{@inheritDoc}
@see \Seeren\Database\Dao\AbstractDao::getSyntax()