forTypes()
Home > @gooddata/sdk-backend-spi > IWorkspaceCatalogFactoryMethods > forTypes
IWorkspaceCatalogFactoryMethods.forTypes() method
Setup catalog to fetch only items of the provided types (attribute, measure, fact or dateDataset)
Signature:
forTypes(types: CatalogItemType[]): TFactory;
Parameters
Parameter | Type | Description |
---|---|---|
types | CatalogItemType[] | catalog item types |
Returns:
TFactory
catalog factory