- Reference >
- MongoDB\GridFS\Bucket Class >
- MongoDB\GridFS\Bucket::getChunksCollection()
MongoDB\GridFS\Bucket::getChunksCollection()
New in version 1.2.
On this page
Definition
-
MongoDB\GridFS\Bucket::getChunksCollection
Returns the chunks collection used by the bucket.
Return Values
A MongoDB\Collection
object for the chunks collection.
Examples
The output would then resemble: