[SERVER-22978] Warning copying documents with copyTo() Created: 06/Mar/16 Updated: 06/Mar/16 Resolved: 06/Mar/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | 3.2.3 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Daniel Martinez | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
db.collection.copyTo('other-db') |
| Comments |
| Comment by Daniel Martinez [ 06/Mar/16 ] |
|
Thank you. Anyway I already found a way to copy my collection between dbs: |
| Comment by Ramon Fernandez Marina [ 06/Mar/16 ] |
|
dmartz86, the copyTo() command is deprecated as of version 3.0. See also Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. See also our Technical Support page for additional support resources. Regards, |