redisgraph-go
redisgraph-go copied to clipboard
create or merge conditionally in case clause or other alternative
... WITH CASE WHEN $param =null THEN CREATE (n:product) |n ELSE MATCH(m:product) WHERE ID(m)=$param |m END AS res . . . return res