[CSHARP-235] Dropping a collection that doesn't exist shouldn't throw an exception Created: 02/Jun/11 Updated: 02/Apr/15 Resolved: 02/Jun/11 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.0 |
| Fix Version/s: | 1.1 |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
MongoDatabase.DropCollection and MongoCollection.Drop shouldn't throw an exception if the collection doesn't exist. They could return a bool to indiciate whether the collection existed or not. |
| Comments |
| Comment by Robert Stam [ 02/Jun/11 ] |
|
Implemented. |