Closed avillarubia closed 4 years ago
Use { $set: { row: row} }
instead of { row: row }
and check if _id is required as mongoose.Types.ObjectId(_id)
.
Also, looks like this library is dead. Quite a few issues with it and no new releases since the early 2018. Best to avoid it.
@prasad1120 thank you for the response. Do you have any recommendations like this?
Good day,
Question
is it possible to loop multiple updates like this?
I tried it but it does not work, tried also by async but doesn't work. Hoping that you guys encounter this case and solved it.
Thank you.