How to lookup into same collection in an array of id?

前端 未结 0 969
一生所求
一生所求 2021-01-24 17:31

I have a user schema with

var userSchema = new mongoose.Schema(
{
  username: {
    type: String,
    required: true,
  },
  follows : [{
    type : Schema.Types.         


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