code: func (db *DB) ZRemRangeByRank(key []byte, start int, stop int) (int64, error) {
  	offset, count, err := db.zParseLimit(key, start, stop)
  	if err != nil {
  		return 0, err
  	}
  
  	var rmCnt int64
  
  	t := db.zsetBatch
  	t.Lock()
  	defer t.Unlock()
  
  	rmCnt, err = db.zRemRange(t, key, MinScore, MaxScore, offset, count)
  	if err == nil {
  		err = t.Commit()
  	}
  
  	return rmCnt, err
  }
docs: // ZRemRangeByRank removes the member at range from start to stop.