IElementsQuery
Home > @gooddata/sdk-backend-spi > IElementsQuery
IElementsQuery interface
Service to query valid attribute elements for particular display form.
Signature:
export interface IElementsQuery extends ICancelable<IElementsQuery>
Extends: ICancelable<IElementsQuery
Methods
Method | Description |
---|---|
query() | Starts the valid elements query. |
withAttributeFilters(filters) | Sets the attribute filters that will limit the available elements |
withDateFilters(filters) | Sets the date filters that will limit the available elements |
withLimit(limit) | Sets number of valid elements to return per page. Default limit is specific per backend |
withMeasures(measures) | Sets the measures that will limit the available elements - only elements for which the measures have data will be returned. |
withOffset(offset) | Sets starting point for the query. Backend WILL return no data if the offset is greater than total number of valid elements. Default offset: 0 |
withOptions(options) | Allows to specify advanced options for the elements query. |