Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个使用具有左右字段的层次结构的类别表。
如果我想重新排序两个字段,我应该怎么做,我应该如何管理左右字段值?
由于您使用左右,您可能将其建模为嵌套集。这个关于嵌套集的问题的最佳答案是移动节点的好方法。