Method: Neo4j::Core::Query#union_cypher
- Defined in:
- lib/neo4j/core/query.rb
#union_cypher(other, options = {}) ⇒ String
Returns a CYPHER query specifying the union of the callee object’s query and the argument’s query
389 390 391 |
# File 'lib/neo4j/core/query.rb', line 389 def union_cypher(other, = {}) "#{to_cypher} UNION#{[:all] ? ' ALL' : ''} #{other.to_cypher}" end |