How to define a schema entity that has a property with an ID of a parent entity?

后端 未结 0 611
天涯浪人
天涯浪人 2021-01-21 10:18

Here\'s my schema definition:

const contactSchema = new schema.Entity(\'contacts\');
const activitySchema = new schema.Entity(\'activities\', {
    contactId: con         


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