var Translation = new Schema({
key: String,
value: String
});
var Product = new Schema({
title: [Translation]
});
var Product = new Schema({
title: {
en: "something",
pt: "algo"
}
});
Since it is a schema-less type, you can change the value to anything else you like, but Mongoose loses the ability to auto detect and save those changes.
var product = await Product.findOne()
product.title = title_from_request
product.save()