code: def _handle_result_by_index(self, idx):
          
          if idx < 0:
              return None
          opts = dict(self.options)
          skip = opts.pop('skip', 0)
          limit = opts.pop('limit', None)
          py_to_couch_validate('skip', skip)
          py_to_couch_validate('limit', limit)
          if limit is not None and idx >= limit:
              # Result is out of range
              return dict()
          return self._ref(skip=skip+idx, limit=1, **opts)
docs: Handle processing when the result argument provided is an integer.