docs: static <K, V> ViewQueryParameters<K, V> reversePaginationQueryParameters
      (ViewQueryParameters<K, V> initialQueryParameters, K startkey, String startkey_docid) {
          // Get a copy of the parameters, using the forward pagination method
          ViewQueryParameters<K, V> reversedParameters = forwardPaginationQueryParameters
                  (initialQueryParameters, startkey,
                          startkey_docid);
  
          // Now reverse some of the parameters to page backwards.
          // Paging backward is descending from the original direction.
          reversedParameters.setDescending(!initialQueryParameters.getDescending());
  
          // We must always include our start key if paging backwards so inclusive end is true
          reversedParameters.setInclusiveEnd(true);
  
          // Any initial startkey is now the end key because we are reversed from original direction
          if (startkey != null) {
              reversedParameters.endkey = initialQueryParameters.startkey;
          }
          if (startkey_docid != null) {
              reversedParameters.setEndKeyDocId(initialQueryParameters.startkey_docid);
          }
  
          return reversedParameters;
      }