withDimensions()
Home > @gooddata/sdk-backend-spi > IPreparedExecution > withDimensions
IPreparedExecution.withDimensions() method
Configures dimensions of the resulting data. Any dimension settings accumulated so far WILL be wiped out.
Signature:
withDimensions(...dim: Array<IDimension | DimensionGenerator>): IPreparedExecution;
Parameters
Parameter | Type | Description |
---|---|---|
dim | Array<IDimension | DimensionGenerator> | dimensions to set |
Returns:
new execution with the updated dimensions
Remarks
The realizations of analytical backend MAY impose constraints on the minimum and maximum number of dimensions. This call WILL fail if the input dimensions do not match constraints imposed by the backend.