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
384 385 386 |
# File 'lib/neo4j-core/query.rb', line 384 def union_cypher(other, = {}) "#{to_cypher} UNION#{[:all] ? ' ALL' : ''} #{other.to_cypher}" end |