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[]): IPreparedExecution;
Parameters
Parameter | Type | Description |
---|---|---|
items | IAttributeOrMeasure[] | list of attributes and measures, must not be empty |
filters | INullableFilter[] | (Optional) list of filters, may not be provided |
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().