Organizational Research By

Surprising Reserch Topic

nested comments in mongodb

nested comments in mongodb  using -'mongodb,comments,nested'

I'm quite new to MongoDB and trying to build a nested comment system with it.
On the net you're finding various document structures to achieve that, but I'm looking for some proposals that would enable me easily to do the following things with the comments

Mark comments as spam/approved and retrieve comments by this attributes
Retrieve comments by user
Retrieve comment count for an object/user

Besides of course displaying the comments as it is normally done. If you have any suggestions on how to handle these things with MongoDB - or - tell me to look for an alternative it'd be appreciated much!

asked Oct 13, 2015 by ashishshukla
0 votes

Related Hot Questions

2 Answers

0 votes
answered Oct 13, 2015 by rajesh
0 votes
answered Oct 13, 2015 by vickeykumar66