code: function queryRequest(queryOptions) {
  
      if (!queryOptions) {
          return;
      }
  
      var options = util._extend({}, queryOptions);
  
      if (options.query && options.query.length) {
          options.query = '&sq=' + encodeURIComponent(options.query);
      }
  
      if (options.sort) {
          options.orderBy = '&orderby=column:' + options.sort;
          delete options.sort;
      }
  
      if (options.descending) {
          options.reverse = '&reverse=true';
          delete options.descending;
      }
  
      return options;
  }
docs: Transforms query request object
  
  @param queryOptions
  @returns {*}