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

@param string $index
@param bool   $ignoreIfNotExist

@return mixed
drop for N1QL primary index