#Non-nullable field becomes null when incremented - Mongodb

2 messages · Page 1 of 1 (latest)

warm blaze
#

I'm adding a new field for an update to my project, this field is called likesReceived as you can see in the image below, and as you can see this field cannot be NULL, but whenever I try to execute my query the field becomes null in the database and I can't increment it anymore

#

<@&937755430136995890>