Finding a document in a collection whose field is an objectId but refers to another collection

后端 未结 0 1863
夕颜
夕颜 2020-12-06 09:01

I have these two collections defined as follows

let BookSchema = new mongoose.Schema({
    title: String,
    author: {
        type: mongoose.Object.Types.Ob         


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