public function dropDatabase()
    {
        $this->document = $this->db->getQueryBuilder()->dropDatabase();

        $result = current($this->execute()->toArray());
        return $result['ok'] > 0;
    }
public function dropDatabase()
    {
        $this->document = $this->db->getQueryBuilder()->dropDatabase();

        $result = current($this->execute()->toArray());
        return $result['ok'] > 0;
    }
public function dropDatabase ( ) { $ this -> document = $ this -> db -> getQueryBuilder ( ) -> dropDatabase ( ) ; $ result = current ( $ this -> execute ( ) -> toArray ( ) ) ; return $ result [ 'ok' ] > 0 ; }
Drops database associated with this command.
@return bool whether operation was successful.
Drops database associated with this command .