Hello!
I'm looking for the way to increment node's parameter using cypher-dsl
in my java project.
I can't understand how to imlement query below using dsl.
match (c:Counter) set c.total = c.total+1 return c`
I expect something like that:
Cypher.match(counter)
.set(counter.TOTAL.to({need to do plus operation here, i suppose})).
It's confusing, because i can multiply but can't find method plus:
...
.set(counter.TOTAL.to(multiply(counter.TOTAL, 1) #it will render like counter.total= counter.total * 1
I use cypher-dsl version 2023.9.5.