I'm new to cypher-dsl java. The problem is we need a dynamic relationship type in a query, but this isn't supported yet, nor does it work with spring spel, in the current query we have. We decided therefore to use cypher-dsl. I need to build a statement that uses unwind with a collection of strings and can't find a way to do it.
"MATCH (source:Browse{nodeId: $sourceId})
UNWIND $destIds as destId
MERGE (destination:Phantom{nodeId: destId}) "
The $destIds in the 2nd line is where the collection is used now, in a spring-data @Query annotation.
I'd love an example or an explanation how to do that.
Thanks a lot.