PageInfo
data class PageInfo(var hasPreviousPage: Boolean, var hasNextPage: Boolean, var startCursor: String? = null, var endCursor: String? = null)
Information about pagination in a connection.
Constructors
| PageInfo | constructor(hasPreviousPage: Boolean, hasNextPage: Boolean, startCursor: String? = null, endCursor: String? = null) |
Properties
| Name | Summary |
|---|---|
| endCursor | var endCursor: String? When paginating forwards, the cursor to continue. |
| hasNextPage | var hasNextPage: Boolean Are there more items when paginating forwards? |
| hasPreviousPage | var hasPreviousPage: Boolean When paginating backwards, are there more items? |
| startCursor | var startCursor: String? When paginating backwards, the cursor to continue. |