You can have your dictionary like this if meta strong> is a dictionary:
var UserSchema = new Schema({ meta: { votes: Number, favs: Number } first_name: String, last_name: String, profile_pic: String, gender: String, timezone: Number date: { type: Date, default: Date.now }, updated: { type: Date, default: Date.now }, country: {id: Number, name: String} });
jamesthakid
source share