Mongoose Dodaj nowe pole do schematu
Model.findOneAndUpdate(
query, //filter
update, //data to update
{ //options
strict: false
}
)
Talented Tapir
Model.findOneAndUpdate(
query, //filter
update, //data to update
{ //options
strict: false
}
)