lib/active_graph/shared/query_factory.rb in activegraph-11.5.0.beta.3 vs lib/active_graph/shared/query_factory.rb in activegraph-12.0.0.beta.1
- old
+ new
@@ -45,10 +45,10 @@
fail 'Abstract class, not implemented'
end
def match_query
base_query
- .match(match_string).where("ID(#{identifier}) = $#{identifier_id}")
+ .match(match_string).where("elementId(#{identifier}) = $#{identifier_id}")
.params(identifier_id.to_sym => graph_object.neo_id)
end
def identifier_id
@identifier_id ||= "#{identifier}_id"