public function dropPrimary($index = null, $ignoreIfNotExist = false)
    {
        $this->connection->openBucket($this->getTable())
            ->manager()->dropN1qlPrimaryIndex($this->detectIndexName($index), $ignoreIfNotExist);
    }