We are trying to update neo4j database with our own graphhml file. For that we need to clear the neo4j database. When we try using g.clear() it gives an error. The trace is as follows :
gremlin> g.clear() No signature of method: groovy.lang.MissingMethodException.clear() is applicable for argument types: () values: [] Possible solutions: sleep(long), sleep(long, groovy.lang.Closure), every(), grep(), collect(), use([Ljava.lang.Object;)
What could be the problem ?