Skip to main content

PageInfo

Representation of a paginated page. Used when results are paginated

type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
endCursor: String
offset: Int
}

Fields

hasNextPage ● Boolean!

Is a next page available

hasPreviousPage ● Boolean!

Is a previous page available

endCursor ● String

The last cursor of this page

offset ● Int

The offset of this page. Offset will return nil if cursor based pagination is used

Example

{}