Mongoose Ajouter un nouveau champ au schéma
Model.findOneAndUpdate(
query, //filter
update, //data to update
{ //options
strict: false
}
)
Talented Tapir
Model.findOneAndUpdate(
query, //filter
update, //data to update
{ //options
strict: false
}
)