Class: Neo4j::Cypher::StartRel

Inherits:
Start
  • Object
show all
Defined in:
lib/neo4j-cypher/start.rb

Overview

Can be created from a rel dsl method.

Constant Summary

Constants included from Clause

Clause::NAME, Clause::ORDER

Instance Attribute Summary

Attributes included from Clause

#clause_list, #clause_type, #eval_context, #expr, #insert_order

Instance Method Summary collapse

Methods inherited from Start

#entity_list, #to_cypher

Methods included from Clause

#<=>, #alias_name, #as_alias, #as_alias?, #clause_position, #create_clause_args_for, #match_value, #match_value=, #prefix, #referenced!, #referenced?, #return_value, #separator, #to_prop_string, #valid_clause?, #var_name, #var_name=

Constructor Details

#initialize(clause_list, rels) ⇒ StartRel

Returns a new instance of StartRel.



43
44
45
# File 'lib/neo4j-cypher/start.rb', line 43

def initialize(clause_list, rels)
  super(clause_list, entity_list('relationship', rels))
end