TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Best database for tree storage and traversal?

6 点作者 cookerware将近 11 年前
The gist of what I&#x27;m trying to do is have a tree, traverse through every possible branch until all leaf nodes have been visited.<p>I need to also be able to modify any node along a branch. I originally thought about using MySQL but it seems really complicated. So I turn to graph databases.<p>I want a python example which does this but can&#x27;t find it in the docs for Neo4j, OrientDB, ArangoDB

2 条评论

truncate将近 11 年前
Did you try using any MPTT libraries for your framework&#x2F;rdbms? I&#x27;ve found that fairly simple to use. But of course performance should be better with NoSQL.
scaramanga将近 11 年前
files and directories