Mongoose multi-table query problem

mongoose multi-table query, no data found


// schema
var productSchema = new Schema({
    id: Number,
    specval:{type: Schema.Types.ObjectId,ref:"product_specval"}
},{collection:"product"})

var productSpecValSchema = new Schema({
    _id: Schema.Types.ObjectId,
},{collection:"product_specval"})

//model
var productModel = mongoose.model("product",ProductSchema);
var productSpecValModel = mongoose.model("product_specval",productSpecValSchema);

productModel.findOne({"_id":id})
            .populate("specval")
            .exec(function(err,docs){
                console.log(docs)
            })

only the data in the product table is found, but the data of the associated product_specval is not found.
the data is imported by a few simple json, created by myself in a loop, and the value of ObjectId is also equal to

.
Apr.27,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35d7b-2b742.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35d7b-2b742.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?