For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
MongoDB\GridFS\Bucket::getDatabaseName()
Definition
MongoDB\GridFS\Bucket::getDatabaseName()
Returns the name of the database containing this bucket.
functiongetDatabaseName(): string
Return Values
The name of the database containing this bucket as a string.