class Neo4j::Shared::NodeQueryFactory

Protected Instance Methods

create_query() click to toggle source
   # File lib/neo4j/shared/query_factory.rb
70 def create_query
71   return match_query if graph_object.persisted?
72   base_query.create(identifier => {graph_object.labels_for_create => graph_object.props_for_create})
73 end
match_string() click to toggle source
   # File lib/neo4j/shared/query_factory.rb
66 def match_string
67   "(#{identifier})"
68 end