MongoDB 3.4 CopyTo deprecated

Viewed 1006

I would like to use db..copyTo("newCollection") But I use a MongoDB 3.4 and copyTo is deprecated The advantage is that the execution of copyTo is on the server side

So do you have a solution to do the same thing as copyTo and which is on the server side?

Thank you in advance and sorry in advance for my English which is not very good

0 Answers
Related