Mongodb 使用Mongoose填充对象的深嵌套数组

Mongodb 使用Mongoose填充对象的深嵌套数组,mongodb,mongoose,Mongodb,Mongoose,尝试填充此类型的对象数组,但失败。我构建这个模式的方式有错误吗 test_result:[{ test_group_id:{ type: ObjectId , ref:"TestGroup" }, test_list:[ { test_id:{ type: ObjectId , ref:"Test" }, result: String

尝试填充此类型的对象数组,但失败。我构建这个模式的方式有错误吗

test_result:[{
  test_group_id:{
      type: ObjectId ,
      ref:"TestGroup"
  },
  test_list:[
    {
      test_id:{
          type: ObjectId ,
          ref:"Test"
      },
      result: String
    }
  ]
}]
尝试过这样做,但不起作用

.populate('test_result.test_group_id')