开发者

Tree structure in sqlite for iphone

I was looking to make a tree structure in sqlite DB.

I have gone through this link Database Structure for Tree Data Structure

Currently My TREE is maintained using NSMutableDictonary and stored in plist. I wanted to store it in DB instead of plist.

Any hint in the direction would be appreciated.

Thanks开发者_高级运维 in advance


You can maintain a table of (parent, child) that will hold the connection between the nodes. The Nodes themselves will have to be in a different table.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜