Class: ActiveGraph::Node::Query::QueryProxyEagerLoading::IdentityMap

Inherits:
Hash
  • Object
show all
Defined in:
lib/active_graph/node/query/query_proxy_eager_loading.rb

Instance Method Summary collapse

Instance Method Details

#add(node) ⇒ Object



6
7
8
# File 'lib/active_graph/node/query/query_proxy_eager_loading.rb', line 6

def add(node)
  self[node.neo_id] ||= node
end