Problem updating field value in Mongoose

If i add a new value to age field entire mongose is getting again printed in cluster along with updating age value. Problem is old & new data are again coming in mongose . its hard to manage there is only 5 ,i updated a value 2 times that made to 15

Most likely your mongoose code is wrong.

As an advice, please update the title to a shorter one and use text in the post to explain the issue. A title is a title, it is not a paragraph.

Please share your code, this way we can see what is wrong with it.

Please read Formatting code and log snippets in posts before posting. We need to cut-n-paste your code and data to experiment.

2 Likes