createComputedAttribute()
Home > @gooddata/sdk-backend-spi > IWorkspaceComputedAttributesService > createComputedAttribute
IWorkspaceComputedAttributesService.createComputedAttribute() method
Create and save computed attribute for the provided definition.
Signature:
createComputedAttribute(computedAttribute: IComputedAttributeMetadataObjectDefinition): Promise<IComputedAttributeMetadataObject>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
computedAttribute |
computed attribute definition |
Returns:
Promise<IComputedAttributeMetadataObject>
promise of created computed attribute