Is it more common to use Subcomments or ParentComment in mongodb?

前端 未结 0 919
盖世英雄少女心
盖世英雄少女心 2020-12-08 17:48

For storing the comments, is it more common to use this Schema:

Comment: {name, text, subComments: [{type: Comment}]}

or this:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题