Using findById to find the id of a schema in an array

后端 未结 0 859
故里飘歌
故里飘歌 2021-01-25 02:32

Hey I was wondering how do I use findById for a schema inside an array? For example, I have the following Schema:

  const GameSchema = new mongoose.Schema({
  use         


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