[JAVA-192] Add GridFS.drop(db, bucket)/(db) Created: 18/Oct/10  Updated: 19/Oct/16  Resolved: 14/Sep/15

Status: Closed
Project: Java Driver
Component/s: GridFS
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Ross Lawley
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Add way to remove bucket (basically .files.drop() + .chunks.drop())

This would be a static method and an instance method.



 Comments   
Comment by Githook User [ 14/Sep/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Added drop method to GridFSBucket

JAVA-192
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/329785945844fdae6420eeffa42b87130e73e3e6

Comment by Ross Lawley [ 14/Sep/15 ]

This has been included in the forthcoming GridFS spec.

Comment by Ross Lawley [ 02/Sep/15 ]

There is a new GridFS implementation JAVA-1713 that follows the new GridFS specification. There is no method for removing a bucket - but as going so is trivial with the existing 3.x API marking this as won't fix.

Generated at Thu Feb 08 08:51:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.