docs: def _view(self, ddoc, view,
                use_devmode=False,
                params=None,
                unrecognized_ok=False,
                passthrough=False):
          """Internal method to Execute a view (MapReduce) query
  
          :param string ddoc: Name of the design document
          :param string view: Name of the view function to execute
          :param params: Extra options to pass to the view engine
          :type params: string or dict
          :return: a :class:`~couchbase.result.HttpResult` object.
          """
  
          if params:
              if not isinstance(params, str):
                  params = make_options_string(
                      params,
                      unrecognized_ok=unrecognized_ok,
                      passthrough=passthrough)
          else:
              params = ""
  
          ddoc = self._mk_devmode(ddoc, use_devmode)
          url = make_dvpath(ddoc, view) + params
  
          ret = self._http_request(type=_LCB.LCB_HTTP_TYPE_VIEW,
                                   path=url,
                                   method=_LCB.LCB_HTTP_METHOD_GET,
                                   response_format=FMT_JSON)
          return ret