withOrigin()
Home > @gooddata/sdk-backend-spi > IAttributesQuery > withOrigin
IAttributesQuery.withOrigin() method
Sets origin for the query.
Signature:
withOrigin(origin: ObjectOrigin | (string & {})): IAttributesQuery;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| origin | ObjectOrigin | (string & {}) | origin to apply. This is an open string union to allow platform-specific origin values in addition to the built-in literals. | 
Returns:
attributes query