- Reference >
- MongoDB\GridFS\Bucket Class >
- MongoDB\GridFS\Bucket::drop()
MongoDB\GridFS\Bucket::drop()
On this page
Definition
-
MongoDB\GridFS\Bucket::drop
Drops the files and chunks collections associated with this GridFS bucket.
Errors/Exceptions
MongoDB\Driver\Exception\RuntimeException for other errors at the driver level (e.g. connection errors).