Home > @gooddata/sdk-ui > IDataSliceCollection
An iterable collection of data slices.
export interface IDataSliceCollection extends Iterable<IDataSlice>
The collection additionally includes basic information about the origin of the data slices that can be iterated - their number and attributes or totals that were used for slicing.
The slices are iterated in the order in which they appear in the underlying results; server side sorting specified at the execution time is thus reflected and honored during the iteration.
|count||number||Number of available data slices|
|descriptors||Array<IAttributeDescriptor | ITotal>||Descriptors of attributes and/or totals that were used to create data slices.|
|toArray()||Returns all data slices in an array.|