I am using GraphNew() to play with Redis Graph, my problem is that the existing nodes&edges are not loaded in the graph structure.
The workaround I have is to read the graph (nodes + edges), delete the graph and add these back inside, then do my work.
As mentioned in the doc, Commit() rebuilds an entire Graph so I can use it only once.
Is there any better solution?
That's a good point.
At the moment creating a Graph object against an already existing graph key won't populate the client-side object, one will have to fetch the data and construct manually.
Hello,
I am using GraphNew() to play with Redis Graph, my problem is that the existing nodes&edges are not loaded in the graph structure. The workaround I have is to read the graph (nodes + edges), delete the graph and add these back inside, then do my work.
As mentioned in the doc, Commit() rebuilds an entire Graph so I can use it only once. Is there any better solution?