Is it a good practice to use the “_id” of a collection's document as the name of one of the fields of a sub-document in another collection?

前端 未结 0 1310
夕颜
夕颜 2020-12-03 15:32

Example where the names of the subdocument are ids from other collections\'s document:

 {
    "_id" : ObjectId("5ea2c0efafbd4f13e5a2e7d8")         


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