• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to save parent child objects in mongodb

 
Anupam Dee
Ranch Hand
Posts: 42
Firefox Browser Tomcat Server Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to store parent child, a tree like structure in mongodb.
I followed this link.
http://www.mongodb.org/display/DOCS/Trees+in+MongoDB

But there is no way of how to save the tree in mongodb. Only retrieving is there.

How to do that?
Any help would be appreciable.

Thanks.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!