connection = $connection; $this->grammar = $connection->getSchemaGrammar(); } public function select(...$table) /* : void */ { $this->type = QueryType::SELECT; $this->table += $table; $this->table = array_unique($this->table); } public function drop(...$table) { $this->type = QueryType::DROP; $this->drop += $table; $this->drop = array_unique($this->drop); } public function create(string $table) { } public function alter(array $column) { } /** * Parsing to string. * * @return string * * @since 1.0.0 */ public function toSql() : string { return $this->grammar->compileQuery($this); } }