Class: Gitlab::Graphql::Pagination::ExternallyPaginatedArrayConnection
- Inherits:
-
GraphQL::Pagination::ArrayConnection
- Object
- GraphQL::Pagination::ArrayConnection
- Gitlab::Graphql::Pagination::ExternallyPaginatedArrayConnection
- Includes:
- ConnectionCollectionMethods, ConnectionRedaction
- Defined in:
- lib/gitlab/graphql/pagination/externally_paginated_array_connection.rb
Instance Method Summary collapse
- #next_page? ⇒ Boolean (also: #has_next_page)
- #previous_page? ⇒ Boolean (also: #has_previous_page)
Methods included from ConnectionRedaction
Instance Method Details
#next_page? ⇒ Boolean Also known as: has_next_page
13 14 15 |
# File 'lib/gitlab/graphql/pagination/externally_paginated_array_connection.rb', line 13 def next_page? end_cursor.present? end |
#previous_page? ⇒ Boolean Also known as: has_previous_page
17 18 19 |
# File 'lib/gitlab/graphql/pagination/externally_paginated_array_connection.rb', line 17 def previous_page? start_cursor.present? end |