예제 #1
0
 /**
  * @param $key
  * @param $start
  * @param $end
  * @return int
  */
 public function removeByPosition($key, $start, $end = null)
 {
     if (is_null($end)) {
         $end = $start;
     }
     return $this->client->zRemRangeByRank($key, $start, $end);
 }