Mongoose Adicionar novo campo ao esquema
Model.findOneAndUpdate(
query, //filter
update, //data to update
{ //options
strict: false
}
)
Talented Tapir
Model.findOneAndUpdate(
query, //filter
update, //data to update
{ //options
strict: false
}
)