1. updatedExisting: false, indicating that the document has not been modified. 2. n: 0, indicating that the data has been modified to 0
Normal modification to data will return a value. This value is the modified document
From what you said, when updating the data, the corresponding document was not found according to the filter conditions, so the updte was not successful.
According to the lastErrorObject you provided:
1. updatedExisting: false, indicating that the document has not been modified.
2. n: 0, indicating that the data has been modified to 0
Normal modification to data will return a value. This value is the modified document
From what you said, when updating the data, the corresponding document was not found according to the filter conditions, so the updte was not successful.
For reference.
Love MongoDB! Have Fun!