I am using call apoc.refactor.invert(rel)
to invert relationship directions. When I try this on already created graph with relationship type instead of rel
it gives error
Type mismatch: expected Relationship but was String/float
and when I try to invert relationships upon creating them with the following query
CALL apoc.create.relationship(a, graphName.connectionName, {}, b) yield rel1
call apoc.refactor.invert(rel1)
it gives error
Neo.ClientError.Statement.SyntaxError: Unknown procedure output:
rel1
(line 7, column 67 (offset: 232)) "call apoc.refactor.invert(rel1)
if someone knows the proper use of it please help me.