i\'m using mongoose with nodejs, and i need to create a dynamic schema model, this is my code:
schema.add({key : String});
key = \"user_nam
You can do like this:
posts: { type: Object }
And inside posts key, you can implement any key-value pair you would like to