Class: Guacamole::GraphQuery

Inherits:
Query
  • Object
show all
Defined in:
lib/guacamole/graph_query.rb

Instance Attribute Summary

Attributes inherited from Query

#connection, #example, #mapper, #options

Instance Method Summary collapse

Methods inherited from Query

#each, #initialize, #limit, #skip

Constructor Details

This class inherits a constructor from Guacamole::Query

Instance Method Details

#==Object

TODO:

implement reasonable comparison



15
16
# File 'lib/guacamole/graph_query.rb', line 15

def ==(*)
end

#neighbors(start, edge_collection) ⇒ Object



7
8
9
10
11
12
# File 'lib/guacamole/graph_query.rb', line 7

def neighbors(start, edge_collection)
  options[:type] = :neighbors
  options[:start] = start
  options[:edge_collection] = edge_collection
  self
end