A
A
abbrakadabbra2021-05-25 18:47:31
MongoDB
abbrakadabbra, 2021-05-25 18:47:31

How to make a copy of collection A to B and upsert on existing data in collection B?

The task is to copy data from collection A to collection B , while data with the same id in collection B needs to be updated, i.e. do Merge , and add to the data that does not yet exist.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question