The snippet below is taken from the Mongoose docs. My question is why put votes and favs under "meta". Why not have them on the same level as author, body, comments etc?
Is there any advantage to doing it like below? Is there any disadvantages?
var blogSchema = new Schema({
title: String,
author: String,
body: String,
comments: [{ body: String, date: Date }],
date: { type: Date, default: Date.now },
hidden: Boolean,
meta: {
votes: Number,
favs: Number
}
});