/** * Génère une chaine requête de type CREATE * * @return null|string */ public function toCreateTableStatement() { if (($statement = $this->makeSqlStatement()) !== null) { return "CREATE TABLE `" . $this->columns->getTableName() . "` ({$statement}) ENGINE=" . $this->columns->getEngine() . " DEFAULT CHARSET=" . $this->columns->getCharacter() . ";"; } return null; }