/** * Build the DROP INDEX query. * * @param \Titon\Db\Query $query * @return string */ public function buildDropIndex(Query $query) { return $this->renderStatement(Query::DROP_INDEX, ['index' => $this->formatTable($query->getAlias()), 'table' => $this->formatTable($query->getTable())] + $this->formatAttributes($query->getAttributes())); }