db.contraints() is not known in higher version of Neo4j. Error while using GraphXR to save to database

53 Views Asked by At

I am using GraphXR with Neo4j. When trying to save the graph to neo4j, I am presented with the following error:- There is no procedure name 'db.constraints()'.

I am using v5.3.0. I know that the above procedure is deprecated but is there a workaround for the same or can I roll back to a previous version where the procedure name is present.

I have tried to check and operate on config file but nothing works.

1

There are 1 best solutions below

2
On

You can now use the Cypher SHOW CONSTRAINTS clause in place of the db.constraints procedure.

And there is also now a SHOW INDEXES to replace the db.indexes procedure.