MongoDB
PHP Manual

MongoDB::listCollections

(PECL mongo >=0.9.0)

MongoDB::listCollectionsこのデータベース内のコレクション一覧を取得する

説明

public array MongoDB::listCollections ( void )

パラメータ

この関数にはパラメータはありません。

返り値

コレクション名の一覧を返します。


MongoDB
PHP Manual