Is this
blog: [{type: Schema.Types.ObjectId, ref: 'BlogEntry'}]
the same as this
blog: {type: [Schema.Types.ObjectId], ref: 'BlogEntry'}
or is the second example incorrect?
No comments:
Post a Comment