stop update in mongoose code example
Example: updatedAt mongoose stop
await LogsModel.findOneAndUpdate({ _id: log._id }, {
documentStatus: 'Expired',
}, {
timestamps: false,
});
await LogsModel.findOneAndUpdate({ _id: log._id }, {
documentStatus: 'Expired',
}, {
timestamps: false,
});