forItems()
Home > @gooddata/sdk-backend-spi > IExecutionFactory > forItems
IExecutionFactory.forItems() method
Prepares a new execution for a list of attributes and measures, filtered using the provided filters.
Signature:
forItems(items: IAttributeOrMeasure[], filters?: INullableFilter[], options?: IPreparedExecutionOptions): IPreparedExecution;
Parameters
Parameter |
Type |
Description |
---|---|---|
items |
list of attributes and measures, must not be empty | |
filters |
(Optional) list of filters, may not be provided | |
options |
(Optional) additional options for the prepared execution |
Returns:
Remarks
The contract is that prepared executions created by this method MUST be executable and MUST come with pre-filled dimensions created using the defaultDimensionsGenerator().