Class: Ibrain::Types::BaseConnection

Inherits:
BaseObject
  • Object
show all
Includes:
GraphQL::Types::Relay::ConnectionBehaviors
Defined in:
app/graphql/ibrain/types/base_connection.rb

Instance Method Summary collapse

Methods inherited from BaseObject

#graphql_name

Instance Method Details

#aggregateObject



11
12
13
# File 'app/graphql/ibrain/types/base_connection.rb', line 11

def aggregate
  Ibrain::Aggregate.new(object.items.to_a.size)
end