Class: Sunspot::Neo4j::DataAccessor

Inherits:
Adapters::DataAccessor
  • Object
show all
Defined in:
lib/sunspot_neo4j/neo4j_adapter.rb

Instance Method Summary collapse

Instance Method Details

#load(id) ⇒ Object



33
34
35
# File 'lib/sunspot_neo4j/neo4j_adapter.rb', line 33

def load(id)
  criteria(id).first
end

#load_all(ids) ⇒ Object



37
38
39
# File 'lib/sunspot_neo4j/neo4j_adapter.rb', line 37

def load_all(ids)
  criteria(ids)
end