==========================================MongoDB\\GridFS\\Bucket::getDatabaseName()==========================================.. default-domain:: mongodb.. contents:: On this page :local: :backlinks: none :depth: 1 :class: singlecolDefinition----------.. phpmethod:: MongoDB\\GridFS\\Bucket::getDatabaseName() Returns the name of the database containing this bucket. .. code-block:: php function getDatabaseName(): string