Example #1
0
 /**
  * Set whether to sort the results of a non-paginated 2i query.
  * Setting this to true will sort the results in Riak before returning them.
  *
  * @param boolean $orderByKey
  *
  * @return \Riak\Client\Command\Index\Builder\Builder
  */
 public function withPaginationSort($orderByKey)
 {
     $this->query->setPaginationSort($orderByKey);
     return $this;
 }