Class: ActiveGraph::Core::QueryClauses::OnCreateSetClause

Inherits:
SetClause
  • Object
show all
Defined in:
lib/active_graph/core/query_clauses.rb

Direct Known Subclasses

OnMatchSetClause

Constant Summary collapse

KEYWORD =
'ON CREATE SET'

Constants inherited from Clause

Clause::AND, Clause::COMMA_SPACE, Clause::PRETTY_NEW_LINE, Clause::UNDERSCORE

Instance Attribute Summary

Attributes inherited from Clause

#arg, #options, #param_vars_added, #params

Instance Method Summary collapse

Methods inherited from SetClause

clause_color, clause_join, clause_strings, #from_key_and_value

Methods inherited from Clause

#_nested_value_hash?, #_use_key_for_var?, #add_param, #add_params, #attributes_from_key_and_value, clause_color, clause_join, clause_string, final_keyword, from_arg, from_args, #from_hash, from_key_and_single_value, #from_string, keyword, keyword_downcase, #label_from_key_and_value, #node_from_key_and_value, paramaterize_key!, to_cypher, #value, #var_from_key_and_value

Constructor Details

#initialize(*args) ⇒ OnCreateSetClause

Returns a new instance of OnCreateSetClause.



687
688
689
690
# File 'lib/active_graph/core/query_clauses.rb', line 687

def initialize(*args)
  super
  @options[:set_props] = false
end