芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/giga.mgaplay.com.br/vendor/mongodb/mongodb/src/Operation/ListCollectionNames.php
listCollections = new ListCollectionsCommand($databaseName, ['nameOnly' => true] + $options); } /** * Execute the operation. * * @see Executable::execute() * @param Server $server * @return Iterator * @throws DriverRuntimeException for other driver errors (e.g. connection errors) */ public function execute(Server $server): Iterator { return new CallbackIterator( $this->listCollections->execute($server), function (array $collectionInfo) { return $collectionInfo['name']; } ); } }