src/Dao/MySql/InsertMySqlDao.php
protected function getSyntax(TableInterface $table): string
    {
        $insertColumn = "";
        $insertBind = "";
        foreach ($table->get(TableInterface::ATTR_COLUMN) as $key => $value) {
            if (null !== $value->getValue()) {
                $id = ":" . $key;
                $insertColumn .= "`" . $key . "`, ";
                $insertBind .= $id . ", ";
                $this->setParam($id, $value->getValue(), $value->getParam());
            }
        }
        return "INSERT INTO "
             . "`" . $table->get(TableInterface::ATTR_NAME) . "`"
             . "(" . substr($insertColumn, 0, -2) . ") "
             . "VALUES " . "(" . substr($insertBind, 0, -2) . ")"
             . (($clause = $this->getClause($table)) ? " " . $clause : "")
             . ";";
    }
protected function getSyntax(TableInterface $table): string
    {
        $insertColumn = "";
        $insertBind = "";
        foreach ($table->get(TableInterface::ATTR_COLUMN) as $key => $value) {
            if (null !== $value->getValue()) {
                $id = ":" . $key;
                $insertColumn .= "`" . $key . "`, ";
                $insertBind .= $id . ", ";
                $this->setParam($id, $value->getValue(), $value->getParam());
            }
        }
        return "INSERT INTO "
             . "`" . $table->get(TableInterface::ATTR_NAME) . "`"
             . "(" . substr($insertColumn, 0, -2) . ") "
             . "VALUES " . "(" . substr($insertBind, 0, -2) . ")"
             . (($clause = $this->getClause($table)) ? " " . $clause : "")
             . ";";
    }
{@inheritDoc}
@see \Seeren\Database\Dao\AbstractDao::getSyntax()