I have an issue on update record while updating while 415 is id.
Cannot create property 'updatedAt' on string '415'
I also add update field in model but still getting error
In my case, it was my mistake on passing parameter (using es6).
db.Model.update(value)
The correct syntax have to be:
db.Model.update({value})
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With