src/Dao/MySql/SelectMySqlDao.php
protected function getSyntax(TableInterface $table): string
    {
        $mySql = "";
        foreach ($table->get($table::ATTR_COLUMN) as $key => $value) {
            if (null !== $value->getValue()) {
                $mySql .= "`" . $key . "`, ";
            }
        }
        return "SELECT " . ($mySql ? substr($mySql, 0, -2) : "*")
             . " FROM `" . $table::NAME. "`"
             . (($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()) {
                $mySql .= "`" . $key . "`, ";
            }
        }
        return "SELECT " . ($mySql ? substr($mySql, 0, -2) : "*")
             . " FROM `" . $table::NAME. "`"
             . (($clause = $this->getClause($table)) ? " " . $clause : "")
             . ";";
    }
{@inheritDoc}
@see \Seeren\Database\Dao\AbstractDao::getSyntax()