defSetDimensions()
Home > @gooddata/sdk-model > defSetDimensions
defSetDimensions() function
Creates new execution definition by slapping the provided dimensions on top of the definition.
Signature:
export declare function defSetDimensions(def: IExecutionDefinition, dimensions?: IDimension[]): IExecutionDefinition;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| def | existing definition | |
| dimensions | (Optional) dimensions | 
Returns:
always new instance