connection = $connection; $this->grammar = $connection->getSchemaGrammar(); } public function drop(...$table) : Builder { $this->type = QueryType::DROP; $this->drop += $table; $this->drop = \array_unique($this->drop); return $this; } public function selectTables() : Builder { $this->type = QueryType::TABLES; return $this; } public function selectFields(string $table) : Builder { $this->type = QueryType::FIELDS; $this->selectFields[0] = $table; return $this; } 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); } }