code: func (idx *ListIndex) AllRecords(opts *Options) ([][]byte, error) {
  	var list [][]byte
  
  	c := internal.Cursor{C: idx.IndexBucket.Cursor(), Reverse: opts != nil && opts.Reverse}
  
  	for k, id := c.First(); k != nil; k, id = c.Next() {
  		if id == nil || bytes.Equal(k, []byte("storm__ids")) {
  			continue
  		}
  
  		if opts != nil && opts.Skip > 0 {
  			opts.Skip--
  			continue
  		}
  
  		if opts != nil && opts.Limit == 0 {
  			break
  		}
  
  		if opts != nil && opts.Limit > 0 {
  			opts.Limit--
  		}
  
  		list = append(list, id)
  	}
  
  	return list, nil
  }
docs: // AllRecords returns all the IDs of this index