Tree structures in a nosql database

前端 未结 2 427
故里飘歌
故里飘歌 2020-12-23 23:13

I\'m developing an application for Google App Engine which uses BigTable for its datastore.

It\'s an application about writing a story collaboratively. It\'s a very

2条回答
  •  伪装坚强ぢ
    2020-12-24 00:01

    One solution I can think about is - the path to the node is also the key of that node. So the key of node 11 is "2/7/6/11". You can traverse the path by a simple key lookup of all keys in the path - "2/7/6/11", "2/7/6", "2/7", "2"

提交回复
热议问题