Skip to content

updated mongoose update function to Collection.updateMany#93

Open
adeel-jf wants to merge 1 commit intoe-oj:masterfrom
adeel-jf:patch-1
Open

updated mongoose update function to Collection.updateMany#93
adeel-jf wants to merge 1 commit intoe-oj:masterfrom
adeel-jf:patch-1

Conversation

@adeel-jf
Copy link

Collection.update function is deprecated by mongoose which is causing trouble to update multiple records.
Now using Collection.updateMany for updating records in mongoDB.

Collection.update function is deprecated by mongoose which is causing trouble to update multiple records.
Now using Collection.updateMany for updating records in mongoDB.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant