Class: GraphQL::Connections::PrimaryKey::Desc

Inherits:
Base
  • Object
show all
Defined in:
lib/graphql/connections/primary_key/desc.rb

Constant Summary collapse

PAGE_COMPARABLE_METHODS =
{
  previous: {query: :gt, cursor: :gteq},
  next: {query: :lt, cursor: :lteq}
}.freeze
SLICED_COMPARABLE_METHODS =
{
  after: :lt,
  before: :gt
}.freeze

Constants inherited from Base

Base::COMPARABLE_METHODS

Instance Attribute Summary

Attributes inherited from Base

#opaque_cursor

Method Summary

Methods inherited from Base

#cursor_for, #has_next_page, #has_previous_page, #initialize

Methods inherited from Base

#cursor_for, #has_next_page, #has_previous_page, #initialize, #nodes, #primary_key

Constructor Details

This class inherits a constructor from GraphQL::Connections::PrimaryKey::Base