neo4j / graph-data-science

Source code for the Neo4j Graph Data Science library of graph algorithms.
https://neo4j.com/docs/graph-data-science/current/
Other
596 stars 157 forks source link

GDS.graph.export allow replace database #313

Closed Mintactus closed 6 days ago

Mintactus commented 1 month ago

The config "replace = False" is missing from gds.graph.export You can set it to true so it replaces any existing database, short and sweet

That would create a much more sweet workflow for testing purposes

s1ck commented 6 days ago

Sorry for the late reply. This can be easily achieved by using database management commands. In your example, you'd need to run DROP DATABASE <your-db> IF EXISTS DESTROY DATA. See docs for detail.