Mongoose Tambahkan bidang baru ke skema
Model.findOneAndUpdate(
query, //filter
update, //data to update
{ //options
strict: false
}
)
Talented Tapir
Model.findOneAndUpdate(
query, //filter
update, //data to update
{ //options
strict: false
}
)