Class: GraphQL::Relay::MongoRelationConnection
- Inherits:
-
RelationConnection
- Object
- BaseConnection
- RelationConnection
- GraphQL::Relay::MongoRelationConnection
- Defined in:
- lib/graphql/relay/mongo_relation_connection.rb
Overview
A connection implementation to expose MongoDB collection objects.
It works for:
- Mongoid::Criteria
Constant Summary
Constants inherited from BaseConnection
BaseConnection::CONNECTION_IMPLEMENTATIONS, BaseConnection::CURSOR_SEPARATOR
Instance Attribute Summary
Attributes inherited from BaseConnection
#arguments, #context, #field, #max_page_size, #nodes, #parent
Method Summary
Methods inherited from RelationConnection
#cursor_from_node, #first, #has_next_page, #has_previous_page, #last
Methods inherited from BaseConnection
#after, #before, connection_for_nodes, #cursor_from_node, #decode, #edge_nodes, #encode, #end_cursor, #first, #has_next_page, #has_previous_page, #initialize, #inspect, #last, #page_info, register_connection_implementation, #start_cursor
Constructor Details
This class inherits a constructor from GraphQL::Relay::BaseConnection