Class: Connections::BaseConnection

Inherits:
GraphQL::Types::Relay::BaseConnection
  • Object
show all
Defined in:
app/graphql/connections/base_connection.rb

Instance Method Summary collapse

Instance Method Details

#total_countObject


5
6
7
# File 'app/graphql/connections/base_connection.rb', line 5

def total_count
  object.nodes.size
end