public function dropIndexes($collectionName, $indexes) { $this->document = $this->db->getQueryBuilder()->dropIndexes($collectionName, $indexes); return current($this->execute()->toArray()); }