Go is in development for v1. Interested in contributing or chatting with us?Get in touch!
Go - Collection.Query.FromPagingToken()
Set a point to resume a query from, this is required when continuing a paginated query response.
import { collection } from '@nitric/sdk'
const profiles = collection('profiles').for('reading')
const profileQuery = profiles.query().pagingFrom(pagingToken)
Parameters
- Name
pagingToken
- Required
- Required
- Type
- interface{}
- Description
The paging token to apply to the query. Tokens are returned from
query().fetch()
, when results cannot be returned in a single page.