Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var schema = new Schema({
- niceName: [{
- haha: String,
- denorm: {type: mongoose.Schema.Types.Mixed, ref: 'User', denormalize: ['niceName', 'name']}
- }]
- },
- {
- id: false
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement