I've only just started using neoism and enjoying it so far. I've hit a bit of a problem and wondered if it my naivety of neoism or neoism itself that's at fault.
I've got a line in my go code:
agent.Relate(relation, node.Id() , neoism.Props{})
The issue is that if I run it more than once it will duplicate the relationship. Is there a way to create only if the relationship doesn't already exist - something similar to the GetOrCreateNodeFunction.
Or will I have to write some raw cql to check if the relationship already exists before running the statement above?
Thanks in advance