芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/giga.mgaplay.com.br/vendor/mongodb/mongodb/src/Operation/ListDatabaseNames.php
listDatabases = new ListDatabasesCommand(['nameOnly' => true] + $options); } /** * Execute the operation. * * @see Executable::execute() * @param Server $server * @return Iterator * @throws UnexpectedValueException if the command response was malformed * @throws DriverRuntimeException for other driver errors (e.g. connection errors) */ public function execute(Server $server): Iterator { $result = $this->listDatabases->execute($server); return new ArrayIterator(array_column($result, 'name')); } }