goTo()
Home > @gooddata/sdk-backend-spi > IPagedResource > goTo
IPagedResource.goTo() method
Request a specific page of the resource
Signature:
goTo(pageIndex: number): Promise<IPagedResource<TItem>>;
Parameters
Parameter | Type | Description |
---|---|---|
pageIndex | number | index of requested page: positive, zero-based |
Returns:
Promise<IPagedResource<TItem>>
promise of a paged resource with the results of selected page