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 | IExecutionDefinition | existing definition |
dimensions | IDimension[] | (Optional) dimensions |
Returns:
always new instance