Module: Pacer::Core::StringRoute

Defined in:
lib/pacer-neo4j/algo/cypher_transform.rb

Instance Method Summary collapse

Instance Method Details

#cypher(opts = {}) ⇒ Object



8
9
10
# File 'lib/pacer-neo4j/algo/cypher_transform.rb', line 8

def cypher(opts = {})
  raw_cypher(opts).paths
end

#raw_cypher(opts = {}) ⇒ Object



4
5
6
# File 'lib/pacer-neo4j/algo/cypher_transform.rb', line 4

def raw_cypher(opts = {})
  chain_route({element_type: :cypher, transform: Pacer::Transform::Cypher}.merge opts)
end