Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to save parent child objects in mongodb  RSS feed

 
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!