[JAVA-238] add optional parameter dropTarget to DBCollection.rename() Created: 20/Dec/10 Updated: 17/Mar/11 Resolved: 07/Feb/11 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 2.3 |
| Fix Version/s: | 2.5 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Swen Thümmler | Assignee: | Antoine Girbal |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
The mongodb shell allows to rename a collection and optionally drop the target. It would be great to be able to do this in the java driver, too. I.E.: |
| Comments |
| Comment by auto [ 15/Mar/11 ] |
|
Author: {u'login': u'bwmcadams', u'name': u'Brendan W. McAdams', u'email': u'brendan@10gen.com'}Message: SCALA-22 Added a dropTarget boolean option to rename collection, which |
| Comment by Antoine Girbal [ 07/Feb/11 ] |
|
implemented and added test |
| Comment by auto [ 07/Feb/11 ] |
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: |