1.2バージョン の新機能。:
定義
Return Values
ファイル コレクションのMongoDB\Collectionオブジェクト。
例
$bucket = (new MongoDB\Client)->test->selectGridFSBucket(); $filesCollection = $bucket->getFilesCollection(); var_dump($filesCollection->getCollectionName());
出力は次のようになります。
string(8) "fs.files"