阅读背景:

用node.js更新mongodb中的子对象

来源:互联网 

I have the following schema:

我有以下模式:

friends: [{
    user: { type : mongoose.Schema.Types.ObjectId, ref : 'User' },
    read: Boolean,
    accepted: Boolean 
}]
friend



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: