英文:
How can I drop all indexes at once using Cypher in Memgraph?
问题
有没有办法执行类似DROP INDEX ON *
这样的操作,以删除所有索引?
如果我有大量的索引,逐个删除它们可能需要一些时间。是否有一些查询可以循环遍历现有的索引并删除它们?
英文:
Is there a way to do something like DROP INDEX ON *
that would delete all indexes?
If I have a larger number of indexes it can take some time to delete them one by one. Is there some query that can loop through exiting indexes and delete them?
答案1
得分: 1
你现在无法简单地使用Cypher来完成这个操作。Memgraph存储库中有一个关于这个功能的GitHub问题。
英文:
You can't do this by simply using Cypher at the moment. There is a GitHub issue in the Memgraph repository for this feature.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论